Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Filetostr(),Strtofile()
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Filetostr(),Strtofile()
Miscellaneous
Thread ID:
00394054
Message ID:
00394054
Views:
54
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?
Next
Reply
Map
View

Click here to load this message in the networking platform