Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to parse a string
Message
From
04/12/2002 20:07:23
 
 
To
04/12/2002 20:00:13
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00729690
Message ID:
00729708
Views:
9
You could also do:

lcDelims = ",:/" && all the delimiters you want changed
lcChangeTo = ";"
lcEmail = ChrTran(lcEmail, lcDelims + " ", Replicate(lcChangeTo, Len(lcDelims))


Here is the explanation:
This will replace every character in lcDelims with the lcChangeTo and replace all " " with "", thereby removing spaces.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform