[thelist] replacing "

ben morrison morrison.ben at gmail.com
Wed Mar 15 09:21:30 CST 2006


On 3/14/06, Casey Crookston <caseyc at internetopus.com> wrote:
>
> VB.NET: how do you replace " in a string?
>
> varString = varString .Replace("text_to_replace","&quot;")
>
> but how do you get the " inside the " "?

Very new to this but i would try:

varString = varString.Replace(/"/g, "&quot;")

ben.



More information about the thelist mailing list