delphi右截取函数,在线等,急用!! 相当于vb中的right()函数功能在delphi中是什么函数 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 修改:copy(str,i,length(str)-i+1); uses StrUtils;function LeftStr(const AText: string; const ACount: Integer): string;function RightStr(const AText: string; const ACount: Integer): string;function MidStr(const AText: string; const AStart, ACount: Integer): string; 楼上的RightStr()函数可用!我自己写了一个扩充了一下的函数function RightCopy(S: string; Index,count:Integer): string; //从右第Index位复制Count个字符begin RightCopy := copy(S,Length(S)-count+1-(Index-1),count);end;例:RightCopy(abcdefghijklmnopqrst,5,3)返回nop 如何获得任务栏程序的句柄 汉字转换为拼音的问题! 请问各位大侠哪一个有etcell正版控件? 急死人!我下了一个RXRichEdit,但不知道用法!救命呀! 关于存储过程的问题,望高手执教 工资管理里的公式里带if怎么实现? 在数据表中有一个逻辑型字段如何在Dbgrid中以复选框形式进行显示? 很简单的问题(请过来拿分吧)!!!!。。。。。 Qreport做一报表,如何打印出对某一列的汇总---在线等待 各位,请指教,可有办法分割DBGRID? SOCKET的初学者问题(各位达人请帮忙)... 如何得到256*256*256*256*256*256
function RightStr(const AText: string; const ACount: Integer): string;
function MidStr(const AText: string; const AStart, ACount: Integer): string;
我自己写了一个扩充了一下的函数
function RightCopy(S: string; Index,count:Integer): string; //从右第Index位复制Count个字符
begin
RightCopy := copy(S,Length(S)-count+1-(Index-1),count);
end;例:
RightCopy(abcdefghijklmnopqrst,5,3)
返回nop