note 76661 deleted from function.strrev by nlopess
| From: | nlopess@php.net | Date: | Wed, 25 Jul 2007 10:33:32 +0000 |
| Subject: | note 76661 deleted from function.strrev by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-128912@lists.php.net to get a copy of this message | ||
Note Submitter: ViniciusCainelli at gmail dot com
----
Usando strrev no JavaScript:
function strrev(string)
{
if (string == undefined)
return false;
var string = string . toString();
var a = string . length;
var retorno = '';
while (a != 0) {
retorno += string . charAt(--a);
}
return retorno;
}
=D ViniciusCainelli.com