@result=grep (/\ba\z/,@array); [download]
In reply to Re: Question on Grep Function by artist in thread Question on Grep Function by kprasanna_79