一下忘記刪掉幾個字串怎麼刪.如qwerty,刪掉最後rty幾個,得到qwe.
解决方案 »
- 如何在DBGrid某几列里加一个合并的列头?
- Dephi 版的高手帮忙 看下这个 问题吧,Type 'Byte' is not yet completely defined
- 三层下的一个奇怪问题
- ADOQuery 参数传递问题?
- 关于FastReport的打印MEMo换行问题
- 在internet 上如何用不dcom连结远程机算机??
- OnMouseWheel事件是什么意思?
- 请问AnimateWindow该API的用法?
- reportbuilder 的安装密码?
- query中的recno为什么总是-1,请问如何才能得到当前行号呢?
- 创建立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)