-
Notifications
You must be signed in to change notification settings - Fork 8
case
svenanders edited this page Dec 22, 2014
·
6 revisions
#case
The case function sets the current capitalization mode
Added in version: 0.8.5
[case:mode]
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.
Acts on the entire output.
[case:upper]I like bats
// I LIKE BATS