Merging and Partitioning Arrays
Once you have learned how to define, manage, and sort arrays, understanding how to merge and partition arrays is important because they enable you to slice and dice arrays to meet changing business needs. Merging arrays joins two or more arrays into a single array. Partitioning carves data from arrays. As in prior sections, first you will review the predefined functions that support merging and partitioning, and then you will explore some key examples applying the more frequently used functions. Table 6-5 captures the merging and partitioning predefined functions in alphabetic order.
|Function||Description and Pattern|
|array_chunk()||The function takes two formal ...|