How to properly convert CrLf

  • Using XE7 with WPTools 7.21
    In a RTF document, I need to replace some code (sort of my own mailmerge implementation) with plain text that contains CrLf pairs.
    Here is what I am using, and it does not work

    In either case, letting CrLf as is or replacing with Lf, activating the view of control chars in the RTF editor, it apears a broken arrow, and I cannot access the first character of the second line.

    • Offizieller Beitrag

    You cannot insert #13 or CR into the Editor using the finder. You can however use InputString(#13) which actually creates a new paragraph. So you can use Finder.SelectText and InputString.

    You cannot find text which is in different paragraphs (devided by a CR)