Welcome,
I have memo component and long string.
How can i grab that string into one line, one long string without line braks maked by enter.
If user copy text from website, it contain that line breaks
If user paste text
1
2
3
4
I need to get
1234
I was trying write it on my own, but i cant
procedure TForm1.Memo3Exit(Sender: TObject);
begin
memo3.text:=trim(memo3.text);
end;
That was my idea.
It work ok, for enters at begining or end but not inside text
enter
text1
enter
text2
enter
after trim i got
text1
enter
text2
I should get : text1text2
Regards