Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do I put quotes into a string?
Message
De
16/07/1999 16:00:54
 
 
À
16/07/1999 15:23:53
Brent Knight
Progressive Impressions International
Bloomington, Illinois, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00242523
Message ID:
00242549
Vues:
22
>I am wanting to put quotes into a string.
>
>I have a message box that I want to put "" into. What is the escape character so I may use the quotes. I don't want to have to resort to using Ascii codes.
>

encapsulate the string in single quotes, or square brackets:

cString = 'Single quoted string containing " character'
cString = [Square bracketed string with both ' and " characters]
cString = "This has ' in one half" + ' and " in the other'

>
>Thank you
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform