See preg_grep() function in the manual. a> Hi there,
a> I am wondering how to search an array for words starting with a certain
a> character.
a> E.G:
a> $word = array('alpha', 'beta', 'php');
a> I would like to check if there is a word in the array starting with p
a> Is there alrready a function for this?
a> Thanx, Andy
--
Best regards,
Evgeny mailto:[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

