delphi获取两个字符之间的数


本文整理自网络,侵删。

 //delphi获取两个字符之间的数
function GetChars(AString: string; fChar, EChar: char): String;
var
i, tmpPos: Integer;
begin
Result := '';
tmpPos := Pos(fChar, AString);
if tmpPos = 0 then
exit;
for i := tmpPos + 1 to Length(AString) do
begin
if AString = EChar then
break;
Result := Result + AString;
end;
end;

相关阅读 >>

Delphi xe增强的rtti妙用--动态创建包中的窗口类

Delphi xe2-firemonkey 新功能

indy tidtcpclient 在网络掉线时的处理方法

Delphi 中文字符串函数问题rightstr

Delphi 删除只读文件

Delphi 相对路径和绝对路径的转换

Delphi 10 seattle的android应用程序中使用参数启动服务

Delphi 实现程序 动态 类名

Delphi xe6 android视频采集

Delphi+sql数据库增加,删除,修改,查询操作

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



打赏

取消

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

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

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

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

评论

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