Public feed
#377505
public static char[] substring(int start, int stop, char[] oldArr) {
char[] newArr = new char[(stop - start) + 1];
int i = 0;
for(int x = start; x <= stop; x++) {
newArr[i] = oldArr[x];
i++;
}
return newArr;
}