Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Remove chr(10)'s from a file??
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01479909
Message ID:
01479934
Views:
43
>lcStartingStringFile = FILETOSTR('MyFile.txt')
>lcResultStringFile = STRTRAN(lcStartingStringFile,CHR(10),'',1)
>STRTOFILE(lcResultStringFile,'MyFile.txt')

If speed of this operation becomes or is any issue,
IIRC ChrTran() will give you better speed for such an operation
Previous
Reply
Map
View

Click here to load this message in the networking platform