模仿VB的StrReverse字符串倒转功能
时间:2011-02-07 来源:Moodsky

1 function StrReverse(Str: string): string;
2 var
3 Count: integer;
4 begin
5 Result := '';
6
7 for Count := 1 to length(Str) do
8 Result := Str[Count] + Result;
9 end;
相关阅读 更多 +
排行榜 更多 +