File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -76,6 +76,8 @@ function IdentifierContext(Identifier: TIdentifierListItem; out DetailString: Sh
7676
7777function ParseParamList (RawList: String): TStringList; overload;
7878function ParseParamList (RawList: String; AsSnippet: boolean): String; overload;
79+ function SplitString (s: String; delimiter: Char): TStringArray;
80+ function JoinString (const A: array of string; const Sep: string): string;
7981
8082function ConvertBytesToHumanReadable (bytes: cardinal): ShortString;
8183
@@ -390,7 +392,20 @@ function ConvertBytesToHumanReadable(bytes: cardinal): ShortString;
390392 result := IntToStr(bytes)+units[exponent];
391393end ;
392394
393- function SplitString (s: string; delimiter: char): TStringArray;
395+ function JoinString (const A: array of string; const Sep: string): string;
396+ var
397+ i: Integer;
398+ begin
399+ Result := ' ' ;
400+ for i := 0 to High(A) do
401+ begin
402+ if i > 0 then
403+ Result := Result + Sep;
404+ Result := Result + A[i];
405+ end ;
406+ end ;
407+
408+ function SplitString (s: String; delimiter: Char): TStringArray;
394409var
395410 i: integer;
396411 c: char;
You can’t perform that action at this time.
0 commit comments