13-02-2018, 09:54 PM
وعليكم السلام
هكذا
هكذا
PHP كود :
function HexTo_(Str: string): string;
var
I: Integer;
begin
Result := '';
Str := StringReplace(Str, ' ', '', [rfReplaceAll]);
for I := 1 to Length(Str) do
begin
if I mod 2 = 0 then
Result := Result + ' ' + IntToStr(StrToInt(HexDisplayPrefix + Str[I-1] + Str[I]));
end;
end;
سبحان الله وبحمده سبحان الله العظيم


![[-]](https://delphi4arab.net/forum/D4A2020/collapse.png)