Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Chrtran for a phrase
Message
De
16/02/2005 21:28:57
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP1
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
00987482
Message ID:
00987743
Vues:
35
>And thus the trifecta of ways to perform a VFP task has been fulfilled. :)

Actually, nobody mentioned anything like

lcString=stuff(lcString, atc(lcWord, lcString), len(lcWord), "")

...though that would work as well, if the word really is contained in the string. Unfortunately, if it's not, atc() returns zero, and stuff() treats that as 1, so this would then eat first len(lcWord) characters from lcString.

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
Répondre
Fil
Voir

Click here to load this message in the networking platform