I have a text file that contains the following data:
't''h''i''s''i''s''a''t''e''s''t''f''o''r''s''t''a''c''k''o''v''e''r''f''l''o''w'
I want to read the file, and remove all '
s so the final result will look like this:
thisisatestforstackoverflow
I don't know if you need to write to another file or you can just change the current one, but I have tried to do it with replace()
and I couldn't get it to work. If someone could write a small peace of code to show me how it works I will appreciate it!