finding postion of any one char occur first

From: Date: Sun, 19 May 2002 06:55:47 +0000
Subject: finding postion of any one char occur first
Groups: php.general 
Request: Send a blank email to php-general+get-98374@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

« previous php.general (#98374) next »