UCFirst

Transform the first letter of a string to uppercase or the first letter of each word, and optionally lowercase uppercase characters.

Method Signature

UCFirst(string=[string], doAll=[boolean], doLowerIfAllUppercase=[boolean])

Arguments

Argument
Type
Required
Description
Default

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

Examples

Last updated

Logo

Copyright & Register Trademark by Ortus Solutions, Corp & Ortus Software, LLC