Arrays¶
Splice¶
To create the sub-array
startInclusive– the start index to extract from the array inclusiveendExclusive– the end index to extract exclusive
String[] result = Arrays.stream(<array>, <startInclusiveIndex>, <endExclusiveIndex>).toArray(String[]::new);