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 使用 inputbox、inputquery 的启发

Delphi 纯window系统api实现的ssl客户端

Delphi 调用外部 dll 中的函数(2. 晚绑定)

Delphi异常信息捕捉

Delphi的tfilestream

Delphi 获取内核地址的简单方法

Delphi 本地数据库备份与还原(Delphi)

Delphi 病毒

Delphi idhttp.post超时导致整个线程停止问题解决

Delphi 弹出输入框的inputquery, inputquery 函数用法

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



打赏

取消

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

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

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

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

评论

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