Go Back   PCMech Forums > Help & Discussion > Web Design / Development

Need Some Help? Type Your Keywords Here:

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 10-03-2004, 07:00 AM   #1
Member (7 bit)
 
Join Date: Jun 2003
Location: Israel
Posts: 92
Send a message via ICQ to M.D.
Visual Basic - Special characters - "

HI,
I would like to use special characters in string operations. How can i use them, for example the char = "

\", /" seems not to work

for example if i want xxx to hold value 'ab"cd'

xxx = "ab"cd"
M.D. is offline   Reply With Quote
Old 10-03-2004, 08:56 AM   #2
aym
Registered User
 
aym's Avatar
 
Join Date: Nov 2001
Posts: 1,965
http://msdn.microsoft.com/library/de...isualBasic.asp

Use 2 consecutive "s:

Code:
xxx = "ab""cd"
aym is offline   Reply With Quote
Old 10-05-2004, 05:09 AM   #3
Member (7 bit)
 
Join Date: Jun 2003
Location: Israel
Posts: 92
Send a message via ICQ to M.D.
Tnx a lot works just fine !!!
M.D. is offline   Reply With Quote
Old 10-06-2004, 12:32 PM   #4
Professional gadfly
 
doctorgonzo's Avatar
 
Join Date: Jan 2002
Location: Minneapolis, MN
Posts: 6,364
Send a message via MSN to doctorgonzo
You can also use chr$(34). I prefer this method, although either will work. The double quotes is probably easier.
doctorgonzo is offline   Reply With Quote
Reply

Bookmarks

Still Need Help? Type Your Keywords Here:


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 06:54 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 PL2