Merge two arrays by alternately adding inserting values from both arrays, starting from the left.
zip([1, 2], [3, 4, 5, 6]) results in [1, 3, 2, 4, 5, 6].
zip([1, 2], [3, 4, 5, 6])
[1, 3, 2, 4, 5, 6]
Zipped array.
Array to start alternately merging from.
Second array to merge.
Copyright Ⓒ 2023 SAP SE or an SAP affiliate company. All rights reserved.
Merge two arrays by alternately adding inserting values from both arrays, starting from the left.
Example
zip([1, 2], [3, 4, 5, 6])
results in[1, 3, 2, 4, 5, 6]
.Returns
Zipped array.