Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Replace more than one character at a time STRTRAN?
Message
 
 
To
04/05/2004 10:12:56
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00900695
Message ID:
00900708
Views:
21
Tracy,

The CHRTRAN() function is what you should use in this case but it can be done with STRTRAN() also.
STRTRAN(STRTRAN(MVALUE, "$", ""), ",", "")
>Thanks Sergey. I looked up CHRTRAN() in help, but I didn't see where it would replace more than one value. I missed that! I tested the same code using STRTRAN() and mvalue remained the same with no substitutions... That's my memory for ya! Useless! :o)

>>
? CHRTRAN(MVALUE, "$,", "")
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform