Commit e471750f authored by Julien Cigar's avatar Julien Cigar
Browse files

added Yeti.Str.reverse

parent 8a0f7dd1
......@@ -39,6 +39,14 @@
src.replace(/^\s+|\s+$/g,'');
}
/* Yeti.Str.reverse
* Returns the string reversed.
*/
Yeti.Str.reverse = function(src) {
return src.split('').reverse().join('');
}
/***********************************************************************
XMLHttpRequest
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment