Monkuar Posted January 8, 2012 Share Posted January 8, 2012 $mystring = "|Signature"; $findme = '|'; $pos = strpos($mystring, $findme); echo $pos; echo's 0 supposed to echo out 1....? why not work thanks How can I enable it to check for | using strpos? Link to comment https://forums.phpfreaks.com/topic/254582-strpos-with-symbol-no-work/ Share on other sites More sharing options...
KevinM1 Posted January 8, 2012 Share Posted January 8, 2012 It is working. 0 is the first position in the string. Link to comment https://forums.phpfreaks.com/topic/254582-strpos-with-symbol-no-work/#findComment-1305472 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.