Function ReverseStr (S : ShortString) : ShortString;
var
I : Integer;
begin
Result := '';
For I := Length(S) DownTo 1 Do
Result := Result + S[I];
end;
Páginas
Pesquise o Assuntos Delphi Desejado
Assinar:
Postar comentários (Atom)
0 comentários :: 475 - Invertendo uma string
Postar um comentário