joins the elements of @array with "string"
"string" - the delimeter to join the elements together with.
@array - an array of elements to join together
&closure - a generator function to create elements to join with the specified string
a scalar string
$string = join(', ', @("ape", "bat", "cat", "dog")); println($string);
ape, bat, cat, dog