Attention
TYPO3 v8 has reached its end-of-life March 31st, 2020 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
toUpperCamelCase
lowercamelcase
Convert underscored
lower_camel_case
tolowerCamelCase
- Example:
Code:
10 = TEXT 10.value = Hello world! 10.case = upper
Result:
HELLO WORLD!