This site is mobile accessible. Press the "Tap Here" button to use a smaller font-size.

Smartphone icons created by Freepik - Flaticon

JavaScript String

The charAt() Method

The charAt() method returns the character at a given position in a string:

var text = "HELLO WORLD";
document.getElementById("demo").innerHTML = text.charAt(0);
Legend

text = string character at charAt() position