I can half-@ss this, but I want a clean way of doing it that wouldn't create any sort of hassle to deal with later.
private String[][] SplitInto10(string[] currTermPairs)
{
//what do i put in here to return 10 string arrays
//they are all elements of currTermPairs, just split into 10 arrays.
}
So I basically want to split a string array (currTermPairs) equally into 10 or 11 different string arrays. I need to make sure NO DATA is lost and all the elements are successfully transferred
edit: you're given a string array of n size. what needs to happen is the method needs to return 10 string arrays/lists from the given string array. In other words, split the array into 10 parts.
For example, if i have
A B C D E F G H I J K L M N O P Q R S T U
i need it to split into 10 string arrays or 11 string arrays depending on the size, so in this case i would have
A B
C D
E F
G H
I J
K L
M N
O P
Q R
S T
U <--Notice this is the 11th array and it is the remainder