Difference between revisions of "Array.implode()"

From ZCubes Wiki
Jump to navigation Jump to search
 
(3 intermediate revisions by the same user not shown)
Line 32: Line 32:
  
 
==See Also==
 
==See Also==
[[Array.Explode() | Explode]]
+
[[Array.explode() | Explode]]
  
 
[[Array.unimplode() | Unimplode]]
 
[[Array.unimplode() | Unimplode]]
 
[[Array.unimplodeleaf() | Unimplodeleaf]]
 

Latest revision as of 03: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