本文整理自网络,侵删。
procedure TForm1.Button4Click(Sender: TObject);var
split: TStringList;begin split := TStringList.Create; split.Delimiter := '-'; split.DelimitedText := '123-456-789'; Caption:= split[0]+split[1]+split[2]; split.free;end;
相关阅读 >>
Delphi 2009 之 tcategorypanelgroup[4]: height
Delphi makeuniquefilename 创建文件名如果已经存在自动更改文件名
Delphi adoquery的post和updatebatch
更多相关阅读请进入《Delphi》频道 >>