note 7960 added to strlen
| From: | maxim at j-door dot com | Date: | Tue, 22 Aug 2000 09:59:19 +0000 |
| Subject: | note 7960 added to strlen | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-2921@lists.php.net to get a copy of this message | ||
The following is equal:
<PRE>
$Max ="123456789";
echo levenshtein ($Max, substr ($Max, -1)." ");
echo "<p>";
echo strlen($Max);
</PRE>
Try to play with it and you will come with a HUGE ammount of function created...
I prefer levenshtein() better then strlen() because of it's almost unlimited possibilities...
http://www.php.net/manual/function.strlen.php