Registriert seit: 7. Jan 2003
Ort: Menden
192 Beiträge
Delphi 7 Enterprise
|
Re: StrToHex Ersatz
15. Okt 2004, 19:02
Delphi-Quellcode:
function StringToHex(s:string) : string;
var t : integer;
begin
result := '';
for t := 1 to length(s) do begin
if t = length(s) then
result := result + intToStr(ord(s[t]))
else
result := result + IntToStr(ord(s[t])) + ' ';
end;
end;
Christian Killing for peace is like fucking for virginity
Nightshade
|