Fórum String suja #356075
27/03/2008
0
Paulo
Curtir tópico
+ 0Posts
28/03/2008
Marcosrocha
Gostei + 0
28/03/2008
Paulo
Gostei + 0
28/03/2008
Paulo
Gostei + 0
28/03/2008
Marcosrocha
Seu código pode ficar menor ainda:
function LimpaTexto(sTexto: String): String; var I: Integer; begin Result := ´´; for I := 1 to Length(sTexto) do if (sTexto[I] in [´0´..´9´]) then Result := Result + sTexto[I]; end;
Gostei + 0
Clique aqui para fazer login e interagir na Comunidade :)