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? Quote 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. Quote 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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.