1
Answer

Replace string with nothing

Photo of Mark

Mark

19y
2.3k
1
Hi I need to replace the character \ in string with nothing.

This: myString.Replace('\',' '); leaves me with a compile error
Of course because \' is the escape for '
But what should be the exact syntax then??

Thanks in advance

Answers (1)

Next Recommended Forum