Skip to main content

titleCase

Capitalizes the first letter of each word in the input string.

Parameters

  • STRING (string)

    The input string.

  • FORMAT NON-INITIAL LETTERS (Boolean)

    Optional. Whether to change uppercase letters to lowercase when they aren't the first letter of a word.

    Default: false

Examples

ATL in Script

Result

[[titleCase('an epic journey')]]

An Epic Journey

[[titleCase('an EPIC journey', true)]]

An Epic Journey

[[titleCase('an EPIC journey', false)]]

An EPIC Journey