how to get first letter in string code example
Example 1: get first character of string java
var string = "freeCodecamp";
string.charAt(0); // Returns "f"
Example 2: query only first letter string
LEFT(colName, 1)
var string = "freeCodecamp";
string.charAt(0); // Returns "f"
LEFT(colName, 1)