Logo 
Search:

Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

Regarding strings operation

  Asked By: Glenn    Date: Mar 03    Category: Java    Views: 584
  

i have an array str[]

who's contents for ex: are

str[0]=aaaa;
str[1]=aabc;
str[2]=aabd;
str[3]=adcd;


i need to write a function...which finds.

such that..
1)to find string which starts with "aa"
output is
aaaa
aabc
aabd
)to find string which ends with "bd"
output is
aabd

any code/links for this problem will be helpful.

Share: 

 

No Answers Found. Be the First, To Post Answer.

 
Didn't find what you were looking for? Find more on Regarding strings operation Or get search suggestion and latest updates.




Tagged: