[Tutor] Re: removing line ends from Word text files

Lee Harr missive at hotmail.com
Sat Jul 17 03:37:49 CEST 2004


>>See if your systems have a script called dos2unix. That is the one
>>that I always use when I get one of those dossy files.
>>
>>If you cannot find that, try searching through the lines for characters
>>around ord(10) ord(11) ord(12) ord(13) as I am pretty sure that ^M
>>is somewhere in there...


>Do you mean chr(10-12)? Ord() takes in a character and outputs an integer.
>Chr() does the opposite.
>


wups. yep. sorry 'bout that.

Guess I probably meant something like ord(c)==10 orc(c)==11 ...

_________________________________________________________________
The new MSN 8: smart spam protection and 2 months FREE*  
http://join.msn.com/?page=features/junkmail



More information about the Tutor mailing list