f the first character in string is in the set , then return A javascrpit code example
Example: javascript get first character of string
var str="Hello Folks!"
var firstStringChar = str.charAt(0); //H
var str="Hello Folks!"
var firstStringChar = str.charAt(0); //H