Thread: searching
View Single Post
  #1 (permalink)  
Old 12-06-2007, 03:17 AM
nalinda nalinda is offline
Member
 
Join Date: Nov 2007
Posts: 7
nalinda is on a distinguished road
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?
Reply With Quote
Sponsored Links