Array.injoin()

From ZCubes Wiki
Jump to navigation Jump to search

Array.injoin(JoinWith)

A string with all array elements joined starting from second element.If separator is an empty string, all elements are joined without any characters in between them.


['air','fire','water','land','sky'].injoin('#')

airfire#water#land#sky


1..10.injoin('!!!!')

12!!!!3!!!!4!!!!5!!!!6!!!!7!!!!8!!!!9!!!!10

30..40.injoin()

3031323334353637383940

See Also

joinwith