a:='aaassdsdw'; showmessage(inttostr(pos('s',s))); showmessage(inttostr(pos('s',s))); 这样老是查到第一个~~第一次发贴~高手指点下,谢谢