Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Filetostr(),Strtofile()
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00394054
Message ID:
00394158
Views:
15
There is a function called REDUCE() in FoxTools.FLL that is easy to use and might be helpful.

>I'm importing a file that has alot of fields but no delimitter (other than random spaces). Is there a way to replace all the spaces (fields can be separated by any # of spaces) with a comma?
>
>lcStr=strtran(lcFile," ",",") will replace every single space with a comma, I want to replace every group of spaces with a comma. Any suggestions?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform