I have a string with more than 3000 characters and I have a couple of backslash that I want to remove, but none of the methods I tried worked.
When I tried to remove the backslash from an example substring there is no problem:
temp01 = "AS DATE FORMAT 'YYYY-MM-YY'"
temp02 = ''.join(char for char in temp01 if char !="\")
temp02
AS DATE FORMAT 'YYYY-MM-YY'
but the same replacement for that substring inside the big string does not work.
I also tried with replace, same results.
What can I use to replace the backslash?
2