Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

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”
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #single #quote #string
ADD COMMENT
Topic
Name
5+4 =