devxlogo

Write a VB6 String that Contains Double Quotation Marks

Write a VB6 String that Contains Double Quotation Marks

There are typically two ways to express the string that contains double quotation marks. For example, suppose you have following string in VB6:

<a href="http://www.sina.com">sina

You can express this string in one of two ways, both listed below:

  1. Dim tem As String    tem = "sina"
  2. Dim tem As String    tem = "sina"

devx-admin

Share the Post: