一下忘記刪掉幾個字串怎麼刪.如qwerty,刪掉最後rty幾個,得到qwe.
解决方案 »
- 请教大家几个关于ADOQuery中遇到的问题
- 删除注册表问题
- 如何读取文件的内容?急!
- 如何取得一个float变量小数点后面的位数?
- 第一次用FastReport请教:FastReport生成的报表如何实现预览和打印?
- 帮忙做个聊天软件啊…………
- 如何让JSP来访问DELPHI多层项目中的中间层???
- DBEdit在激发onchange事件时,是否已经修改数据源?如何取消修改?
- 今天体会到代码工的感觉了,聊聊
- 征友启事:当程序员没时间拍拖,请同病相怜的美眉与我联系:[email protected]。
- 创建立SQLServer数据库,用哪种办法好?
- shellexecute的一个问题,急,在线等!!!!
r前面子串的長度不確定的,如任一andefk12rty怎樣呢
strTemp,strFind:string;
intFind:integer;
begin
strTemp:='andefk12rty';
strFind:='rty';
intFind:=pos(strTemp,strFind);
if intFind>0 then Delete(strTemp,intFind,length(strFind));
end;
s:=copy(s,1,length(s)-3)