delphi中判断字符串是否为数字
2022-12-27 14:33:03 作者:admin
本文整理自网络,侵删。
function IsNumber(pcString: PChar): Boolean;begin Result := False; while pcString^ <> #0 do // 0 indicates the end of a PChar string if not (pcString^ in ['0'..'9']) then Exit; Inc(pcString); end; Result := True;end;
相关阅读 >>
Delphi判断文件夹(目录)是否存在,不存在就创建一个
Delphi强制关闭执行程序(杀进程)
format、formatdatetime、formatfloat 的用法
Delphi pagecontrol1 另类隐藏页的方法
Delphi-dbgrid取得所有表中的值
Delphi 快捷键设置控件: thotkey
Delphi psafearray与tbytes类型转换
Delphi 10中实现android的广播接收器
Delphi使用文件拖放功能
Delphi 测试磁盘是否具有写访问权限
更多相关阅读请进入《Delphi》频道 >>
猜你喜欢
联络方式:
400-123-789
邮箱:xiachao@163.com
Q Q:12345678
微信公众号
微信二维码