There are two methods for extracting string characters:
The charAt() method returns the character at a specified position in a string:
var str = "HELLO WORLD"; console.log(str.charAt(0));
The charCodeAt() method returns the unicode of the character at a specified index in a string:
var str = "HELLO WORLD"; console.log(str.charCodeAt(0));