Páginas

Pesquise o Assuntos Delphi Desejado

475 - Invertendo uma string

Function ReverseStr (S : ShortString) : ShortString;
var
I : Integer;
begin
Result := '';
For I := Length(S) DownTo 1 Do
Result := Result + S[I];
end;

0 comentários :: 475 - Invertendo uma string

Postar um comentário