xboredx Posted February 20, 2009 Share Posted February 20, 2009 I am trying to find a character in a string and I want a true or false response if the character is in there. So lets say here is our string. "dfasdjhrevq834hy9 hedv" I am trying to see if there is a "?" in there, and since there is not, I want it to return false. Link to comment https://forums.phpfreaks.com/topic/146182-php-string/ Share on other sites More sharing options...
samshel Posted February 20, 2009 Share Posted February 20, 2009 http://us.php.net/manual/en/function.strrchr.php manual has it all ! Link to comment https://forums.phpfreaks.com/topic/146182-php-string/#findComment-767486 Share on other sites More sharing options...
Mark Baker Posted February 21, 2009 Share Posted February 21, 2009 or http://us.php.net/manual/en/function.strpos.php Link to comment https://forums.phpfreaks.com/topic/146182-php-string/#findComment-767737 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.