Kuzon Kuzon - 5 months ago 36
Vb.net Question

How to include " in a string

How do I include the " character in a string.

For example

said = "John said "Hi""


There are also a set of Control Characters available:


Dim s as String = "John said " & ControlChars.Quote & "Hi" & ControlChars.Quote

I find this much more readable than multiple quotes stacked together.