Finding matching string from javascript array
<p>I have one array of strings. I need to find all strings starting with a key.
for eg: if there is an array  <code>['apple','ape','open','soap']</code>
when searched with a key 'ap'
i should get 'apple' and 'ape' only and not 'soap'. </p>

<p>This is in javascript.</p>
