Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Strip control characters from string
Message
From
13/07/2007 11:54:13
 
 
To
11/07/2007 09:32:38
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01239214
Message ID:
01240252
Views:
14
This message has been marked as a message which has helped to the initial question of the thread.
>That's the problem. I always think giving more information is better, but in a case like this I should have simply asked how to strip control characters out of a string; the rest was superfluous. Thanks!

I don't think it was superfluous.

Now that you stripped off the character you stripped off the line ends, instead of stripping off chr(10) (I assume) you could have replaced it by chr(13)+chr(10).
strtofile(strtran(filetostr("yourfile"),chr(10),chr(13)+chr(10)),"yourtranslatedfile")
Then you can APPEND that data to your table, which seems to be the final goal.

Bye, Olaf.
Previous
Reply
Map
View

Click here to load this message in the networking platform