Attention

TYPO3 v7 has reached its end-of-life November 30th, 2018 and is not maintained by the community anymore. Looking for a stable version? Use the version switch on the top left.

There is no further ELTS support. It is recommended that you upgrade your project and use a supported version of TYPO3.

case

Data type:

case

Description:

Do a case conversion.

Possible values:

Value

Effect

upper

Convert all letters of the string to upper case

lower

Convert all letters of the string to lower case

capitalize

Uppercase the first character of each word in the string

ucfirst

Convert the first letter of the string to upper case

lcfirst

Convert the first letter of the string to lower case

uppercamelcase

Convert underscored upper_camel_case to UpperCamelCase

lowercamelcase

Convert underscored lower_camel_case to lowerCamelCase

Example:

Code:

10 = TEXT
10.value = Hello world!
10.case = upper

Result:

HELLO WORLD!