Answers for "vb.net include quotes in string"

VBA
0

vb.net include quotes in string

TextBox1.Text = "Visual Basic is an " & Chr(34) & "amazing" & Chr(34) & " programming langauge"
Posted by: Guest on July-28-2021
0

vb.net single quote in string

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”
Posted by: Guest on May-04-2021

Code answers related to "VBA"

Browse Popular Code Answers by Language