유돌이

calendar

1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 31

Notice

2008. 12. 29. 23:28 델파이
function ReverseString(s: String): String;
var
  i: integer;
  s2: string;
begin
  s2 := '';
  for i := 1 to Length(s) do
    s2 := s[i] + s2;
  Result := s2;
end;

procedure TForm1.Button1Click(Sender: TObject);
begin
  ShowMessage(ReverseString('역순으로 나타낼 문자열'));
end;

posted by 유돌이