* Thus wrote Scott Fletcher ([EMAIL PROTECTED]): > strpos() is acting a little bit funny. When I do this... > > --snip-- > $a = strpos($data,"]]>"); > --snip-- > > Problem is there are "]]>" characters in the $data string and it just > doesn't see it. Anyone know why and what is the workaround to it?
It works perfectly fine: $data = 'asdf ]]> asdf'; $a = strpos($data,"]]>"); print $a; //output: 5 Curt -- "My PHP key is worn out" PHP List stats since 1997: http://zirzow.dyndns.org/html/mlists/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php