>Hello,
>I have a string variable complete with line breaks and carriage returns. Is there a way I can create a loop for each line in that variable? I need to offset each line by 1 space, and I think this loop is the only way of doing it.
>
>Thanks in advance,
>MAC
No need to loop.
lcString = strtran(m.lcString,chr(13)+chr(10),chr(13)+chr(10)+chr(32))
PS:alines() would parse lines to an array, memlines(), mline() could be used as well provided max line lenght is 1024.
Cetin