Skip to tool

Apex Capitalize first character Online

Uppercase the first character.

The output updates as you type. The tool processes input in your browser.

Worked example

Check whether the target language also lowercases the remainder when capitalizing.

Sample input
mANUALS
Sample output
MANUALS

Using this operation in Apex

The interactive result uses JavaScript. Apex text utilities use the System namespace. Consider Salesforce transaction limits when applying an expensive transformation to many records.

Apex reference