Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Carriage returns in text files?
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00305000
Message ID:
00305015
Views:
33
Chris,

strtofile( strtran( filetostr( "TheFile.txt" ), chr(13), "" ) )

Should perform fine all the way up files of 8-10 megs

>We are sending a text file to a customer running a UNIX machine (yuk) and they seem to have a problem with a ^M character at the end of each line (I think that this is the carriage return?). Does anyone know how I can strip out this character so it doesn't cause them heartache?
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform