Code: Select all
str := " This is the first sentence. `n This is the second. `n Here comes the the third sentence. "
str2 := ""
Loop parse, str , `n
str2 .= Trim(A_LoopField) "`n"
MsgBox % str "`n`n" str2
ExitApp
Thanks for your help.