preg_grep("/^file/", $arr)


Dalton Hunter wrote:

 >Hi, I want to search for a partial match in an array? Does in_array() or
 >search_array() support this or is there another way? For example if I have
 >30 file names in an array in the format ...
 >... how can I check to see if any values in the array start with the
 >partial word "file"?

PHP General Mailing List (
To unsubscribe, visit:

Reply via email to