Name

capitalize — Convert the first character in a string to upper case.

Syntax

capitalize(string)
              

The capitalize function has the following argument:

string

The string to be capitalized.

Description

Transpose the input string by changing the first character to upper case. The remaining characters are unchanged.

Examples

Formula

Description

Result

capitalize('hello')

Return the capitalize case version of 'hello'

'Hello'

capitalize('abc as EASY as 123')

Return the capitalized version of the string

'Abc as EASY as 123'