finding postion of any chat occur first
| From: | Prachait Saxena | Date: | Sun, 19 May 2002 06:54:20 +0000 |
| Subject: | finding postion of any chat occur first | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-98373@lists.php.net to get a copy of this message | ||
Hello
I have a string like $str="Hello World > <<";
and i want to find the first occurance of any one of the char in " " or "<"
$sp=strpos($str,">")
Did not work, beacuse in this I can give only one char....
Can i give filter in this as "[ >]"
If yes then how?
Or any other idea to get this ...
--
Bye, and Have a nice day.
Prachait Saxena
If you do for other's !
Other's will do for you !!
Visit me at http://www.sitesontesting.com/prachait