delphi区分汉字和字母的函数


本文整理自网络,侵删。

 delphi区分汉字和字母的函数
function gthz(s:string):string;
var i:integer;
begin
result:='';
for i:= 0 to Length(s) do
begin
if (Ord(s[i]) >= 127) then
result:=result+s[i];
end;
end;

相关阅读 >>

Delphi adoquery的post和updatebatch

Delphi 获取带分隔符字符串中的字段值

截取程序的网络封包(Delphi hook api)

Delphi toolbar按钮添加图标

Delphi json

Delphi winapi: openprocess、getexitcodeprocess、terminateprocess (qq)

Delphi 判断文件路径,不存在则建立

Delphi android 按包名判断是否安装了app

Delphi编程防止界面卡死的方法

Delphi 按字母排序的windows窗口公用消息

更多相关阅读请进入《Delphi》频道 >>



打赏

取消

感谢您的支持,我会继续努力的!

扫码支持
扫码打赏,您说多少就多少

打开支付宝扫一扫,即可进行扫码打赏哦

分享从这里开始,精彩与您同在

评论

管理员已关闭评论功能...