Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Finding an exact match in a string
Message
From
28/10/2019 06:50:55
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
 
 
To
27/10/2019 23:58:22
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01671709
Message ID:
01671718
Views:
64
>>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform