Código
var
i: integer;
a: string;
begin
Result := '';
for i := 1 to length(s) do
begin
a := copy(s, i, 1);
if (a ' ') and (a ':') then // pode-se ir acresentado os caracter a ser removido
begin
result := Result + a;
end;
end;
end;
Planeta Delphi - www.planetadelphi.com.br - Todos os direitos reservados | Copyright 2001-2009