C caidao Unregistered / Unconfirmed GUEST, unregistred user! 2003-11-09 #3 var s1, s2: string; n: integer; begin s1 := 'hello'; s2 := ''; for n := length(s1) downto 1 do s2 := s2 + s1[n]; end;
var s1, s2: string; n: integer; begin s1 := 'hello'; s2 := ''; for n := length(s1) downto 1 do s2 := s2 + s1[n]; end;
W w128 Unregistered / Unconfirmed GUEST, unregistred user! 2003-11-09 #4 uses StrUtils; procedure TForm1.Button1Click(Sender: TObject); begin showmessage(ReverseString(edit1.Text)); end;
uses StrUtils; procedure TForm1.Button1Click(Sender: TObject); begin showmessage(ReverseString(edit1.Text)); end;