Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Chrtran for a phrase
Message
From
16/02/2005 21:28:57
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP1
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00987482
Message ID:
00987743
Views:
31
>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform