note 110952 deleted from function.strstr by danbrown
| From: | danbrown@php.net | Date: | Thu, 03 Jan 2013 18:17:11 +0000 |
| Subject: | note 110952 deleted from function.strstr by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-192747@lists.php.net to get a copy of this message | ||
Note Submitter: mali at dcc1000 dot com
----
If you want only to verify if a string contains another string just compare with a simple equal
'='
<?php
$MainString = "For simple purposes"
$SearchString = "pur";
if ($SearchString = $MainString)
{
}
?>