Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
$, but for words
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00823290
Message ID:
00823294
Vues:
31
This message has been marked as the solution to the initial question of the thread.
>I want to find certain words in a string. meaning the word can be at the beginning of the string followed by a space, at the end of the string preceeded by a space, or in the middle of the string both preceeded and followed by a space. I use VFP 6.0 SP5. How can I accomplish this without my current bunch of goobly gook code.
>
>Thanks
>
>Brenda
lnPos = at(" " + m.lcWord + " ", " " + m.lcString + " ")
if m.lnPos >0 && the word is in the string
   ...
endif
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform