Thank you Gerald,
>
The ALINES function will return your text in an array one line per row.
>The 3th param will even trim the lines for you if you wish.
>
>From the array it will be easy to perform your changes and write back the text to the memo... That's what I was looking for - kind of like a SCATTER TO ARRAY for a memo field. Is there a corresponding function that GATHERs the array elements back into a string (with CHR(13)s) that can be REPLACED into the memofield, or is that an exercise that is left to the reader?
(with apoligies to Whil Hentzen...:-) for stealing his line)
Randy Bosma
VFP - Because life is too short to code in something else...