xbl12
Programmer
- Dec 12, 2006
- 66
Hi;
I got two arrays which is first_array and second_array,
i want to keep the elements which in second_array and the first latter do not start with a,k,c,m,d,e,f,g.
so i just want to keep 'pppa','yyyyk','zzjjj' for the second_array,could anyone tell me how do that, please, thanks
$first_Array=('a','k','b','c','m','d','e','f','g')
$second_Array=('ahhh','kggg','bhjj','ctert','msd','dgx','efd','fffd','gdf','pppa','yyyyk','zzjjj')
I got two arrays which is first_array and second_array,
i want to keep the elements which in second_array and the first latter do not start with a,k,c,m,d,e,f,g.
so i just want to keep 'pppa','yyyyk','zzjjj' for the second_array,could anyone tell me how do that, please, thanks
$first_Array=('a','k','b','c','m','d','e','f','g')
$second_Array=('ahhh','kggg','bhjj','ctert','msd','dgx','efd','fffd','gdf','pppa','yyyyk','zzjjj')