Delphi xe 分割字符串太方便了
2022-12-17 21:22:12 作者:admin
本文整理自网络,侵删。
procedure TForm1.Button2Click(Sender: TObject);var m_Str: string; m_StrList: TArray<string>; I:Integer;begin m_Str := Memo1.Text; m_StrList := m_Str.Split(['n你好', '啊&']); for I := 0 to High(m_StrList) do begin Memo1.Lines.Add(m_StrList[I]); end;end;
https://www.cnblogs.com/GodPan/p/4535718.html 相关阅读 >>
Delphi remobjects,您值得拥有
Delphi 位运算
Delphi6-xe5 中的md5实现方法
Delphi获取机器的mac地址
Delphi 关闭指定窗口标题的窗口
Delphi中format函数的用法
Delphi tfilestream和tmemorystream分别读取、创建、合并文件
Delphi 获取计算机串口列表
Delphi中stringgrid删除行
Delphi adoquery的post和updatebatch
更多相关阅读请进入《Delphi》频道 >>
猜你喜欢
联络方式:
400-123-789
邮箱:xiachao@163.com
Q Q:12345678
微信公众号
微信二维码
