锘??xml version="1.0" encoding="utf-8" standalone="yes"?>日本精品久久久久中文字幕,精品国产青草久久久久福利,欧美丰满熟妇BBB久久久http://www.shnenglu.com/API/category/17645.htmlzh-cnTue, 24 Sep 2013 12:26:17 GMTTue, 24 Sep 2013 12:26:17 GMT60甯哥敤鍑芥暟http://www.shnenglu.com/API/archive/2013/09/17/203285.htmlC++鎶鏈腑蹇?/dc:creator>C++鎶鏈腑蹇?/author>Tue, 17 Sep 2013 11:47:00 GMThttp://www.shnenglu.com/API/archive/2013/09/17/203285.htmlhttp://www.shnenglu.com/API/comments/203285.htmlhttp://www.shnenglu.com/API/archive/2013/09/17/203285.html#Feedback0http://www.shnenglu.com/API/comments/commentRss/203285.htmlhttp://www.shnenglu.com/API/services/trackbacks/203285.htmlFunction Before( Src:string ; S:string ): string ; var F: Word ; begin F:= POS(Src,S) ; if F=0 then Before := S else Before := COPY(S,1,F-1) ; end ;
function After(Src: string; S: string):string; var F: Word; begin F:= Pos(Src, S); if F = 0 then After:= '' else After:= Copy(S, F+Length(Src), Length(S)); end;
function SplitString(const source, ch: string): TStringList; var temp, t2: string; i: integer; begin result := TStringList.Create; temp := source; i := pos(ch, source); while i <> 0 do begin t2 := copy(temp, 0, i - 1); if (t2 <> '') then result.Add(t2); delete(temp, 1, i - 1 + Length(ch)); i := pos(ch, temp); end; result.Add(temp); end;
procedure TForm1.Button1Click(Sender: TObject); var st : TStringList; begin st := SplitString('xxx@hoho.com', '@'); showmessage(st[1]); end;