The array can be one dimensional, or two-dimensional, determined byrowsandcolumnsarguments.

For example, =MID(“apple”,2,3) returns “ppl”.

Excel TEXTJOIN function

Excel SEQUENCE function

Excel MID function