Skip to main content

initCap

Capitalizes the first letter of the input string.

Parameters

  • STRING (string)

    The input string.

Examples

ATL in Script

Result

[[initCap('sales')]]

Sales

[[initCap('sales department')]]

Sales department

To capitalize every word, use titleCase instead.

ATL in Script

Result

[[titleCase('sales department')]]

Sales Department