How can I create/instantiate an array to be equal to the substring of another array, where the size of the substring is unknown:
int n; //some number derived somewhere else
String[] grp = elements[i] to elements[i+n];
How can I create/instantiate an array to be equal to the substring of another array, where the size of the substring is unknown:
int n; //some number derived somewhere else
String[] grp = elements[i] to elements[i+n];