Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Quote in a string
Message
 
 
À
02/08/2001 11:46:22
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00538890
Message ID:
00538894
Vues:
10
lcString = "Larry's Computer"
or
lcString = [Larry's Computer]

The brakets usually used in the code that generates strings, like query builder.

>Hi,
>
>I just made a mistake in a foxpro program I was working on. I had something like:
>
>
>lcString = 'Larry's Computer'
>
>
>Which obviously makes an error. So I changed it to:
>
>lcString = "Larry" + "'" + "s Computer"
>
>
>I was just curious if they were other ways of putting a quote in a string?
>
>Chris
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform