本文整理自网络,侵删。
function StrToHexStr(const S:string):string;var I:Integer;begin for I:=1 to Length(S) do begin if I=1 then Result:=IntToHex(Ord(S[1]),2) else Result:=Result+' '+IntToHex(Ord(S[I]),2); end;end;
相关阅读 >>
Delphi controlcount和componentcount的区别
Delphi中使用词霸2005的动态库xdictgrb.dll实现屏幕取词
Delphi读写文本文件 assignfile reset append
Delphi 如何让 tgpimage 直接从流中加载图片?
更多相关阅读请进入《Delphi》频道 >>