|
-
January 27th, 2000, 08:47 PM
#1
VB, Strings and Quote marks
Hi!
I think am not a beginner any more, but I have got a quite easy question.
Does any body know if it is possible in VB to easily include quote marks (") in a string. Instead of using the ascii code, converting it to a character with Chr(34) and adding it to the string.
Is there an easy way like in C/C++ where you just write \" to get a " .
Thanx in advance
-
January 27th, 2000, 08:58 PM
#2
Re: VB, Strings and Quote marks
This example will put the phrase
She said, "You deserve a treat!" into a textbox
[vbcode]
Text1 = "She said, ""You deserve a treat!"" "
[\vbcode]
-
January 28th, 2000, 10:58 PM
#3
Re: VB, Strings and Quote marks
Hey, Cool thank you!
I did not know, that it was that easy. I have got 3 books about VB and none of them said any thing about how to do it.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|