chitika

Sunday, September 11, 2011

vb: how to add double quote in string?

This site provides users with the information about vb, visual basic, vb6, how to add double quote to string, double quote in string, and more.

If you think that this site is helpful, please recommend your friends to visit our site.


How to add double quotes in a string?

The following is an example of adding double quotes in a string:


--------------------------------------------------------------------------------
s = "Attribute VB_Name = " & """MainStart" & """" & _
vbCrLf & "Const startDate = """ & Date & """"


output:

Attribute VB_Name = "MainStart"
Const startDate = "01/01/02"

No comments:

Post a Comment

For other hundreds of computer repair tips, tricks, tweaks, guide, help, please go to


http://website.edusoftmax.com