delphi StrUtils.LeftStr、StrUtils.RightStr - 提取左右字符串


本文整理自网络,侵删。

 StrUtils.LeftStr、StrUtils.RightStr - 提取左右字符串
举例:
--------------------------------------------------------------------------------

var
ss,s: string;
begin
ss := 'CodeGear Delphi 2007';
s := RightStr(ss,4);
ShowMessage(s); {2007}

s := LeftStr(ss,4);
ShowMessage(s); {Code}
end;

相关阅读 >>

Delphi 请求时间,为当前时间,数值为1970-01-01以来的毫秒数

Delphi中使用tpathanimation

Delphi中的free和nil

Delphi jpg图片 旋转 切边 缩放

Delphi ��b以 listbox 的item �� hint

Delphi 中判断windows系统是否是64位系统

Delphi 关于内存数据与 json

Delphi access 数据库压缩

embarcadero开源项目赞助

Delphi 透明窗体

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



打赏

取消

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

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

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

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

评论

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