Difference between revisions of "Array.implode()"

From ZCubes Wiki
Jump to navigation Jump to search
 
Line 34: Line 34:
 
[[Array.explode() | Explode]]
 
[[Array.explode() | Explode]]
  
[[Array.implode() | implode]]
+
[[Array.unimplode() | Unimplode]]

Latest revision as of 02:03, 19 May 2020

Array.implode(RecurseTillLevel)

Returns a string from elements of an array. It takes an array of strings and joins them together.

Implode is reverse of Explode

1..10.explode().implode()

0
0 1
0 1 2
0 1 2 3
0 1 2 3 4
0 1 2 3 4 5
0 1 2 3 4 5 6
0 1 2 3 4 5 6 7
0 1 2 3 4 5 6 7 8
0 1 2 3 4 5 6 7 8 9

See Also

Explode

Unimplode