>Thanks for the advise, I came up with this, do you see any problems with it?
>
>lcStr=filetostr('mytext.txt')
>lnCut= rat(chr(13),lcStr)
>lcClip=left(lcStr,(lnCut-1))
>lnPos = rat(chr(10),lcClip)
>lcFinalStr=substr(lcClip, lnPos-1)
>? lcFinalStr
I see a problem. Not all files have chr(13) or chr(10) or both as line delimiters. When you look at them with a regular editor all show to be n lines.
Cetin