如获取字符串中第二个逗号的位置??
解决方案 »
- delphi2009中如何安装RichView12?
- idTcpServer不能断开问题!!!急!!!
- 请问哪位大虾有短信开发方面的资料,刚刚进入电讯行业,什么都不会,请大家帮帮忙,谢谢
- 请教:任何实现这样一个通知系统
- 请问wise做安装程序时,怎样才可以把uninstall项自动加到程序菜单里
- 搞不懂,线程暂停问题。
- 那位朋友电脑上有WORD2002,看看工具一拦是不是有个合并列印,WORD2000没有这功能,老板要我买2002
- 100分关于数据库更新的问题
- 请问Delphi7的第三方控件TRzDictionaryEdit如何使用?
- 十分着急,有关数据显示
- 能同时放两个udpclient在一个客户端吗?小白问题啊
- delphi中ListBox组件使用的问题。
s:string;
index:Integer;
begin
s:='123,21,3322';
index:=Pos( ',', s );
s:=copy( s,index+1,length( s )-index );
showmessage( inttostr( index+Pos( ',', s ) ) );
end;
s,tmp:string;
index:Integer;
begin
s:='123,21,3322';
tmp:=s;
index:=Pos( ',', tmp );
tmp:=copy( s,index+1,length( tmp )-index );
showmessage( copy( s,1,index+Pos( ',', tmp )-1 ) );
end;
s:string;
index:Integer;
begin
s:='123,21,3322';
index:=pos(',',s);
delete(s,1,index);
showmessage(inttostr(index+Pos(',',s)));
end;