摘要: delphi中有直接把10进制转换成16进制的函数: function IntToHex(Value: Integer; Digits: Integer): string; overload; function IntToHex(Value: Int64; Digits: Integer): str 阅读全文
posted @ 2018-11-21 11:00 Thenext 阅读(306) 评论(0) 推荐(0)
摘要: 如果要使用LeftStr,RightStr,MidStr必需引用系统单元StrUtils; 声明变量Str:string; Str:=HelloWorld; 1,LeftStr(Str,2)=He;//从Str字符串变量的最左边(第一个字符包括第一个字符)开始截取2个字符; 2,RightStr(S 阅读全文
posted @ 2018-11-21 10:55 Thenext 阅读(482) 评论(0) 推荐(0)