See also: isEmpty (Check for empty), ifEmpty
The $toUpper function converts all letters from the passed text to uppercase and returns the new text.
Tooltip
Syntax: $toUpper(text)
Parameter
Description
textA text which should be converted to uppercase letters.
Returns the passed text stripped of leading and trailing whitespaces.
Example: $toUpper(Jonas Abend) – returns 'JONAS ABEND'
Syntax
$toUpper(text)
Parameter
Name | Description |
|---|---|
text | A text which should be converted to uppercase letters. |
Return value
Returns the passed text in uppercase letters.
Example
Syntax | Result |
|---|---|
$toUpper(Jonas Abend) | 'JONAS ABEND' |
$toUpper(JONAS ABEND) | 'JONAS ABEND' |
$toUpper(jonas abend) | 'JONAS ABEND' |
$toUpper() | "" |