A simple solution is use the StringReplace function.
MyString := 'I want remove the spaces in string :))';
MyNewString := StringReplace(MyString, #32, '', [rfReplaceAll, rfIgnoreCase]);
Enjoy
Hi,
Use the SelectedItem property, for example, on the OnClick event of TOutLine Component.
procedure TForm1.Outline1Click(Sender: TObject);
begin
Label1.caption := Outline1.Lines[Outline1.selecteditem-1];
end;
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.