Search a String Array in java?

Posted by Praveen Chandrasekaran on Stack Overflow See other posts from Stack Overflow or by Praveen Chandrasekaran
Published on 2010-05-14T12:56:18Z Indexed on 2010/05/14 13:04 UTC
Read the original article Hit count: 219

Filed under:

how to search a string Array with start with keyword?

for example,

String[] str={"abcd","abdc","bcda"};

when my search string is a it must show

abcd and abdc

when my search string is abc then it should be abcd.

how to do? Any Idea?

© Stack Overflow or respective owner

Related posts about java