How to add double quotes in a string literal

前端 未结 7 1983
孤街浪徒
孤街浪徒 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 ?" &quot)
    

    or

    Dim dquot=""""
    RichTextBox1.AppendText("Hello " &dquot &"How are you ?" &quot)
    
    0 讨论(0)
提交回复
热议问题