很初级的问题,delphi中去字符串的子串用什么函数? delete(Str,1,2);删除Str的从1到第2个字符 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 delete(Str,1,2);删除~~Copy(Str,1,2);拷贝~congStr中的第一个开始,取2位~~ delete(str,n,m)删除str的从n到m之间的字符,m>=n 还是copy(str,index,length)比较的容易和直观!值得推荐! var s:integer;begin s:=' we are two friends!'; delete(s,8,4); label1.caption:=s;end; //label1.caption:='we are friends' 不好意思,搞错了,应该是:var s:string; s:=' we are two friends!'; delete(s,8,4); label1.caption:=s;end; //label1.caption:='we are friends' IDFTP 提示 not connected,啥原因 H.e..l...l....o..... 有-人--在---吗----吗----吗----吗---- 简繁体的问题 高手你来看看! 关于Dxdbtreeview的问题继续问! 求一条sql语句。。折腾了两天了 大虾留步:delphi中类的问题 在delphi中如何用ado连接sybase sqlanywhere 8,不想通过odbc BDE数据导出成DB表 请帮我改一下这段代码 FoxMail4.0 Beta版发布了,大家讨论一下它的Bug. 关于打印预览的问题,请大家帮我看一下,谢谢
Copy(Str,1,2);拷贝~congStr中的第一个开始,取2位~~
删除str的从n到m之间的字符,m>=n
s:integer;
begin
s:=' we are two friends!';
delete(s,8,4);
label1.caption:=s;
end; //label1.caption:='we are friends'
s:string;
s:=' we are two friends!';
delete(s,8,4);
label1.caption:=s;
end; //label1.caption:='we are friends'