zoukankan      html  css  js  c++  java
  • Delphi中优秀的字符串分割函数

    function SplitString(Source, Deli: string ): TStringList;stdcall;
                var
                EndOfCurrentString: byte;
                StringList:TStringList;
                begin
                StringList:=TStringList.Create;
                while Pos(Deli, Source)>0 do
                begin
                EndOfCurrentString := Pos(Deli, Source);
                StringList.add(Copy(Source, 1, EndOfCurrentString - 1));
                Source := Copy(Source, EndOfCurrentString + length(Deli), length(Source) - EndOfCurrentString);
                end;
                Result := StringList;
                StringList.Add(source);
                end;

  • 相关阅读:
    harbor docker
    dns服务器
    k8s
    frps
    svn 搭建
    phpstrom 破解 转载https://www.jianshu.com/p/e71361b3bfee
    公开课
    k8s
    rsync各种备份
    定时任务
  • 原文地址:https://www.cnblogs.com/jieke/p/2855813.html
Copyright © 2011-2022 走看看