StrJoin

Qubes 6.0 Join array elements into a single string

Syntaxe

function StrJoin(strs: array of string; delimiter: String): String
strs: array with the strings to join
delimiter: delimiter between strings

Remarques

Delimiter is placed between the joined strings, it can be made of multiple characters or can be empty.

If the array is empty, the result is an empty string.

Exemples

var a : array of String;
a.Add('hello');
a.Add('world');
PrintLn(a.Join(' my ')); // hello my world

Classification

Internal