var
Index: Integer;
Str: string;
begin
Str := '나는_사람이다_________________';
for Index := 1 to Length(Str) do
begin
if Str[Index] = '_' then
Str[Index] := ' ';
end;
end;
var
Str: string;
begin
Str := '나는_사람이다_________________';
Str := StringReplace(Str, '_', ' ', [rfReplaceAll]);
end;
for문돌려도 되구, StringReplace란 함수를 이용해도 됩니다...
var
Index: Integer;
Str: string;
begin
Str := '나는_사람이다_________________';
for Index := 1 to Length(Str) do
begin
if Str[Index] = '_' then
Str[Index] := ' ';
end;
end;
var
Str: string;
begin
Str := '나는_사람이다_________________';
Str := StringReplace(Str, '_', ' ', [rfReplaceAll]);
end;
^^ 항상 즐코하세요...