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.