I have a string with this as the input: abcd efgh ijkl abld abem
now this can be random
i want to split this using string.split and i want to create a 2 dim array to input this in a way that all the elements starting with ab is in the 1st array of 2 dim
like if it is in String so to search for this one will first look at string so in string....all the elements with ab would be stored.
I hope i tried to make things clear