<<I'm wondering what you all think the best way to "search" for a string is.
I guess its more of a matching (regex I'm thinking) but basically what I
want is this..>>

You could try any number of PHP functions, but the best ones would be
strchr/strstr/stristr (for locating the first occurrence of the string),
strpos (find the position of the first occurrence), or strrchr (to find the
last).

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to