note 21103 deleted from function.strrev by didou
| From: | didou@php.net | Date: | Fri, 24 Oct 2003 08:10:46 +0000 |
| Subject: | note 21103 deleted from function.strrev by didou | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-59210@lists.php.net to get a copy of this message | ||
Note Submitter: xyl@falkenzone.com
----
last character of a string can be found easier ( and faster ;o) like this :
$lastchar = substr( $string, -1, 1);