>
>Dim x As String
>x = "I'm a boy"
>x = x.Replace("'","\'")
>'x is equal to "I\'m a boy"
>
>
>Does this work for you? It works for me.
It doesn't for me in the immediate window. Other characters work, like "'" with "~'"
I'm using C#, could it be a reason?
If it's not broken, fix it until it is.
My Blog