Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Finding an exact match in a string
Message
De
28/10/2019 06:50:55
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
27/10/2019 23:58:22
Al Doman (En ligne)
M3 Enterprises Inc.
North Vancouver, Colombie Britannique, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01671709
Message ID:
01671718
Vues:
63
>>If I use TestVar $ VarString and in that string it has Var10, for example, I will get a hit when testing for TestVar="Var10" as well as when TestVar="Var1".
>>
>>How do I eliminate this ambiguity?
>>
>>I hope I explained that clearly enough...
>
>If you want to eliminate this problem at the source, you could rename your variables to Var01, Var02, ...

Also, if it doesn't go against OP's religion or any other conviction, they may have meaningful names.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform