UCFirst
Last updated
Was this helpful?
Last updated
Was this helpful?
Transform the first letter of a string to uppercase or the first letter of each word, and optionally lowercase uppercase characters.
string
string
true
The string to transform.
doAll
boolean
false
Boolean flag indicating whether to transform the first letter of each word.
false
doLowerIfAllUppercase
boolean
false
Boolean flag indicating whether to lowercase uppercase characters.
false