Question : vb.net single quote in string
Answered by : uninterested-unicorn-723hbvra75mw
Dim lQuotes As Char = Convert.ToChar(&H201C) ' “
Dim rQuotes As Char = Convert.ToChar(&H201D) ' ”
Dim str As String = String.Format("{0}Hello World{1}", lQuotes, rQuotes)
Console.WriteLine(str) ' “Hello World”
Source : https://stackoverflow.com/questions/36099497/how-to-insert-single-quotes-in-double-quotes-in-vb-net | Last Update : Tue, 11 May 21
Question : vb.net include quotes in string
Answered by : joel-cunningham
TextBox1.Text = "Visual Basic is an " & Chr(34) & "amazing" & Chr(34) & " programming langauge"
Source : | Last Update : Wed, 04 Aug 21