newb Posted July 15, 2009 Share Posted July 15, 2009 how do i check if a string contains periods? Link to comment https://forums.phpfreaks.com/topic/166004-solved-string-check/ Share on other sites More sharing options...
J.Daniels Posted July 15, 2009 Share Posted July 15, 2009 Check out strpos() which will return the position of the first occurrence or -1 if it doesn't exist. Link to comment https://forums.phpfreaks.com/topic/166004-solved-string-check/#findComment-875539 Share on other sites More sharing options...
newb Posted July 15, 2009 Author Share Posted July 15, 2009 thanks Link to comment https://forums.phpfreaks.com/topic/166004-solved-string-check/#findComment-875543 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.