Documentation for routine join
Documentation for routine join, assembled from the following types:
method join(--> TODO)
sub join(, * --> Str)method join(List: --> Str)
Treats the elements of the list as strings, interleaves them with
$separator and concatenates everything into a single string.
join ', ', <a b c>; # RESULT: «a, b, c»
Note that the method form does not flatten sublists:
say (1, <a b c>).join('|'); # OUTPUT: «1|a b c␤»
Waits for the thread to finish.