Difference between revisions of "Array.implode()"
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...") |
|||
(4 intermediate revisions by the same user not shown) | |||
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. | ||
− | + | Implode is reverse of [[Array.explode() | Explode]] | |
1..10.explode().implode() | 1..10.explode().implode() | ||
Line 32: | Line 32: | ||
==See Also== | ==See Also== | ||
− | [[Array. | + | [[Array.explode() | Explode]] |
[[Array.unimplode() | Unimplode]] | [[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 |