Código Delphi [-] for I := Length(Cadena) to 1 do begin if Cadena[i] = '-' then Exit; Insert(Cadena[i], Result, 1) end
for I := Length(Cadena) to 1 do begin if Cadena[i] = '-' then Exit; Insert(Cadena[i], Result, 1) end