Posted by Jorge A on 10/25/05 14:52
Is there any function in PHP to know if a string is a substring of another string? For instance: $title="White men can't jump"; $text="white"; function($title, $text) would return a boolean depending on $text is a substring or not. I have only found some string compare functions flicking through the documentation. Thanks in advance!
[Back to original message]
Copyright © 2005-2006 Powered by Custom PHP Programming