String str = "java"; String cap = str.substring(0, 1).toUpperCase() + str.substring(1); // cap = "Java"
StringUtils.capitalize(..)
const name = 'flavio' const nameCapitalized = name.charAt(0).toUpperCase() + name.slice(1)