SyntaxFix
Write A Post
Hire A Developer
Questions
slice works just fine in IE and other browsers, it's part of the specification and it's the most efficient method too:
slice
alert("xxx_456".slice(-3)); //-> 456
slice Method (String) - MSDN slice - Mozilla Developer Center