Hallo I am having problems with arrays, mainly I am looking for a way to remove an sub array from an array but with exact sequence. For example:
int[] greaterArray = {8, 3, 4, 5, 9, 12, 6, 3, 5}
int[] lesserArray = {3, 4, 5}
Result would be:
int[] resultArray = {8, 9, 12, 6, 3, 5}
So as you see it would remove only {3, 4, 5} as a sequence not separate value, values 3, 5 are kept in greater array.
I've done it with the to string conversion and cutting sub strings, but there probably is easier and more elegant way.