>>
>>I'm not sure what you mean about spaces. For end of line try
STRTRAN(mymemo, CHR(13) + CHR(10), "<br>")
>
>I was just about to test the above function but only with CHR(13). I thought VFP only adds CHR(13) when you press Enter key. But just in case, I will do it both ways: replacing CHR(13) and combination of CHR(13) + CHR(12).
The CHR(13) + CHR(10) (CR+LF) is standard DOS/Windows end of line combination.
--sb--