How to include a character in a string.
For example, said = "John said "Hi""
said = "John said "Hi""
There is also a set of control characters available:
Try
Dim s as String = "John said " & ControlChars.Quote & "Hi" & ControlChars.Quote
I find this much more readable than a few quotes put together.
You need to double quotes to avoid them in VB
eg. said = "John said ""Hi"""
said = "John said ""Hi"""
Add Chr (34) to the line!
Something like ... Console.Write ("Hello" + Chr (34) + "World" + Chr (34))
In VB.NET, you must use 2 quotation marks: "John Said ""Hi"""
"John Said ""Hi"""
Source: https://habr.com/ru/post/892723/More articles:Setting the width of the PRE tab in different web browsers - cssThe problem with a sharp stock - algorithmHow to set tab order in tkinter app? - pythonC ++ some questions on boost :: unordered_map and boost :: hash - c ++How can I read a bar of svg data in pycairo? - image-processingIs File :: Spec Really Necessary? - perlJava equivalent to Python itertools.groupby ()? - javaHow to get IntelliSense support via CDN when JavaScript and VSDOC files are not local? - jquerystreaming audio .m3u - androidJquery iframe custom scrollbar - javascriptAll Articles