>I'm use WPRichtText.Finder.ReplaceAll('str1', str2), but i'm can't insert 2
>lines in str2
>
>str2 := 'wptolls' + Chr(13) + 'This is my problem'
>Result in wptollsThis is my problem
The ReplaceAll does only replace in the same line of text. If a
newline helps you use #10 insted of #13 - otherwiose you need to
select the found text (SetSelPosLen(FoundPosition,FoundLength) and use
SelectionAsString to replace it.