SyntaxFix
Write A Post
Hire A Developer
Questions
var myString = "Test3"; alert(myString[myString.length-1])
here is a simple fiddle
http://jsfiddle.net/MZEqD/