Difference between revisions of "Array.implode()"

From ZCubes Wiki
Jump to navigation Jump to search
(Created page with "* << Z3 Home * Z3 Language Documentation * Z%5E3_Array_Manipulation_Member_Functions | Listing of Z3 Array Manipulation Member F...")
 
Line 6: Line 6:
 
Returns a string from elements of an array. It takes an array of strings and joins them together.
 
Returns a string from elements of an array. It takes an array of strings and joins them together.
  
[[Array.implode() | Implode]] is reverse of [[Array.explode() | Explode]]
+
Implode is reverse of [[Array.explode() | Explode]]
  
 
1..10.explode().implode()
 
1..10.explode().implode()

Revision as of 01: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