* <an*******@discussions.microsoft.com> scripsit:
How do I trim double quotation mark " in a string? Or, how
do I match pattern if the string has double quotation mark
already like "string"? Thanks in advance.
Encode each double quotation mark with /two/ double quotation marks
inside the string literal:
\\\
MsgBox("He said: ""Hello World!""")
///
For a string containing a single quotation mark type '""""' (without the
"'"s) or use 'ControlChars.Quote'.
--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>