procedure TForm1.Button1Click(Sender: TObject);var N: integer; s, sTmp: string;begin sTmp:= ''; s:= '"小王","男",25'; s:= s + ','; for N:= 1 to length(s) do begin if s[N] <> ',' then sTmp:= sTmp + s[N] else begin ShowMessage(sTmp); sTmp:= ''; end; end;end;