Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Substitute one set of chars for another in string?
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01145715
Message ID:
01145718
Views:
13
>I'm sure there is an easy way to do this in VFP, just can't seem to remember it right now...
>
>Is there a simple command that lets me change one set of characters in a string for another?
>
>So if I had something like this:
>
>"Dear [FIRSTNAME], This is blah blah blah" -- and I want to change [FIRSTNAME] to something else...

Either STRTRAN() or CHRTRAN().
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform