const str = "Hello World";
const firstCharacter = str.charAt(0);
// (ES6 / ES2015)+ way of doing it
const str = "Hello World!";
const chars = [...str];
// Pre-ES2015 way of doing it
var chars2 = str.split("");
var str = "HELLO WORLD";
var res = str.charAt(0);