<code> #define NonBreakingSpace '&'+'nbsp'+';' && So that this may render in the UT #define LineBreak '<'+'br'+'>' && Same function htmlize(tcInstring) local lcOutString lcOutString = STRtran(tcInstring,chr(09),NonBreakingSpace) lcOutString = strtran(lcOutString,chr(13),LineBreak) lcOUtString = strtran(lcOutString,chr(10),'') return lcOutString endfunc </code>>The wwutility class in Rick Strahl's WebConnect has a function called wwUtils::DisplayMemo which does exactly what you are referring to.