|
searching
given a sequence of letters, and an array that has a random sequence of letters in each element, how do i find if any of the elements match the given sequence, and which element number it is at?
i.e:given "abcdefg" , String [] array = {bfg, fgj, cde, efg, ght} , how do i say that cde and efg are inside that sequence?
|