Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Remove empty lines
Message
From
18/09/2010 00:40:57
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Remove empty lines
Miscellaneous
Thread ID:
01481722
Message ID:
01481722
Views:
138
Does anyone know how i can get rid of emtpy lines in a text file:
I thought this might work - it doesn't :(
welcome any suggestions
k
=STRTOFILE(CHRTRAN(FILETOSTR("c:\mydir\m.txt"),CHR(13)+"  ",' '),"c:\mydir\m.txt")
original text:
line 1 of text
line 2 of text


line 3 of text

line 5 of text

i would like converted to
line 1 of text
line 2 of text
line 3 of text
line 5 of text
Next
Reply
Map
View

Click here to load this message in the networking platform