indexing string in javascript

JavaScript
var str="Hello Folks!"
var firstStringChar = str.charAt(0); //H
Source

Also in JavaScript: