Hi All,
I amdeveloping asp.Net application using VB.net in 2003 version.
I have written a code is as follows:
If data.IndexOfAny(",".ToCharArray()) > 0 Then
tempdata = data.Replace(",", "`^")
data = tempdata
End If
If data.IndexOfAny("""".ToCharArray()) > 0 Then
tempdata = data.Replace("""", "`$*")
End If
my data contain
““1 of 3” images spec’d for this Photo number Added “A,B,C” to image numbers”
I want to replace " with `$*. But unable to do that.
Even If data.IndexOfAny(“”“”.ToCharArray()) > 0 Then the code never enter into this block where data contains ".
Is there any idea how to replace " codes with `$*.
Please help me.