Skip to content
svenanders edited this page Dec 22, 2014 · 6 revisions

#case

The case function sets the current capitalization mode

Added in version: 0.8.5

Syntax

[case:mode]

Parameters

mode: The capitalization mode to use.

    none: Don't modify the output. Words that are naturally capitalized, such as firstnames and surnames are left alone.
    lower: Convert output to lowercase.
    upper: Convert output to uppercase.
    title: Capitalize using Title Case (meaning words such as the, an, a etc. does not get capitalized).
    word: Capitalize the first letter of every word.
    first: Capitalize the first letter
    sentence: Capitalize the first letter of every sentence.

Usage

Acts on the entire output.

[case:upper]I like bats
// I LIKE BATS

Clone this wiki locally