I have a replacement problem in VB.NET: I need to replace the " character:
result = result.Replace(""", "")
How can I make this work? Is is even possible?
I have a replacement problem in VB.NET: I need to replace the " character:
result = result.Replace(""", "")
How can I make this work? Is is even possible?
In a VB literal string, use "" to mean " - So
result = result.Replace("""", "")
Note the four "
chars in a row - begin string, two consecutive that mean a single set, and the end of string.
I dont know VB.NET but try
result = result.Replace("""", "")
Here is the code for the VB char constant "
""""c
To fix your sample, use the following
result = result.Replace("""", "")