Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Strtran()
Message
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Title:
Miscellaneous
Thread ID:
00817479
Message ID:
00817482
Views:
16
>Hi All:
> Is there a function that would search the string for multiple occurance of a variable and replace it with null?
>
>I.E. cString="abc,f;fdc"
>replace , and ; with 0. Thus the result will be "abc0f0fdc"
>I want to use function similar to Strtran(), but this search for one occurance of a letter.
>Thaks
>MA

CHRTRAN(cString, ',;', '00')
Charles

"The code knows no master." - Chuck Mautz
"Everybody is ignorant, only on different subjects." - Will Rogers
Previous
Reply
Map
View

Click here to load this message in the networking platform