string get 1 char from start js code example Example: javascript get first character of string var str="Hello Folks!" var firstStringChar = str.charAt(0); //H