How to add double quotes in a string literal

前端 未结 7 2051
孤街浪徒
孤街浪徒 2021-01-17 15:09

Example code:

Dim a As String
a = 1234,5678,9123

I want to add literal double quotes to the variable a

Expected Output

7条回答
  •  时光取名叫无心
    2021-01-17 15:58


    No need to add any kind of complicated functions just use following example to insert double in text box or rich text box.

    Dim dquot=""""
    TextBox1.AppendText("Hello " &dquot &"How are you ?" ")
    

    or

    Dim dquot=""""
    RichTextBox1.AppendText("Hello " &dquot &"How are you ?" ")
    

提交回复
热议问题