for i:=memo1.Lines.Count -1 downto 0 do
begin
s:=Memo1.Lines.Strings;
if Pos('+QQ',s)<>0 then
edit1.text:=Copy(s,Pos('+QQ',s)+3,Length(s)-Pos('+QQ',s)-1);
end;
另外: LastDelimiter()
另外:
Splitor:=PAnsiChar('QQ+');
Str:=(AnsiReverseString(memo2.text));
i:=AnsiPos(Splitor,Str);
j:=AnsiPos(#$A#$D,copy(str,1,MaxLen));
result:=MidStr(str,i+4,j-i);
方法多啊```
又是一个盗号的!!!!