Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / Escape quotation character

Author
Message
sriveros
17
Years of Service
User Offline
Joined: 27th Jul 2007
Location: Edmonton, Alberta
Posted: 9th Feb 2008 13:13
Hello there,

How do I write string$="My name is "Sammy"" without getting an error?
sriveros
17
Years of Service
User Offline
Joined: 27th Jul 2007
Location: Edmonton, Alberta
Posted: 9th Feb 2008 13:20 Edited at: 9th Feb 2008 13:21
I think I got it...
string$="My name is "+chr$(34)+"Sammy"+chr$(34)

Login to post a reply

Server time is: 2024-09-27 10:27:55
Your offset time is: 2024-09-27 10:27:55