Difference between revisions of "Array.implode()"

From ZCubes Wiki
Jump to navigation Jump to search
Line 32: Line 32:
  
 
==See Also==
 
==See Also==
[[Array.Explode() | Explode]]
+
[[Array.explode() | Explode]]
  
 
[[Array.unimplode() | Unimplode]]
 
[[Array.unimplode() | Unimplode]]
  
 
[[Array.unimplodeleaf() | Unimplodeleaf]]
 
[[Array.unimplodeleaf() | Unimplodeleaf]]

Revision as of 02:19, 17 April 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

Unimplodeleaf