[EMAIL PROTECTED] wrote:

Is it possible to request that a string CONTAINS another string...?

EG:
$string = "1, 2, 3, 7, 8, 9";
if ($string CONTAINS "7") {
        // Do stuff
}

int strpos ( string haystack, string needle [, int offset]) is what you are looking for.

HTH,
Oliver Hankeln

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



Reply via email to