Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
String Problem
Message
From
22/05/2001 18:35:05
 
 
To
17/05/2001 16:03:35
General information
Forum:
Visual Basic
Category:
Other
Title:
Miscellaneous
Thread ID:
00508496
Message ID:
00510125
Views:
15
>I have a string and I want to assign a string that contain ".
>
>I have to put " to mark the start and the end of the String, but I want to include the " within the String too...How Can I do that in VB??

You can double up on them: e.g.

MyString = "She said, ""Hello"""

or concatenate using the Chr() function

MyString = "She said, " & Chr(34) & "Hello" & Chr(34)
Insanity: Doing the same thing over and over and expecting different results.
Previous
Reply
Map
View

Click here to load this message in the networking platform