Kuzon Kuzon - 9 months ago 56
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.