Use charAt() to get a character at the specified index in the string.
var string = "Hello, World!";
console.log( string.charAt(4) ); // "o"
Alternatively, because strings can be treated like arrays, use the index via bracket notation.
var string = "Hello, World!";...