lcStr = CHRTRAN(mymemofield, CHR(13) + CHR(10), " ")This (IMHO) improves the code by replacing the characters with a space, rather than an empty string, which will keep words from potentially being pushed together. And then, I'd further improve it as follows:
lcStr = CHRTRAN(STRTRAN(mymemofield, CHR(13) + CHR(10), " "), CHR(13) + CHR(10), " ")This fixes a shortcoming of my first attempt: often, text files use CHR(13)+CHR(10) as the line separator, rather than just one of the two. My first attempt would replace this sequence with two spaces. This code should replace it with one.
lcStr = CHRTRAN(mymemofield, CHR(13) + CHR(10), "")