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 findfiles获取目录下所有文件

Delphi webbrowser中获取input表单值

Delphi 将jpg图片上传到sqlserver数据库里

Delphi thttpclient posturl

Delphi fmx中获取窗口比例

模拟鼠标点击 查找窗口标题

Delphi 从数组中任取一个

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

Delphi 加载图像并压缩,旋转图像角度

Delphi 监视剪贴板内容

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



打赏

取消

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

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

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

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

评论

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