Upper case

See also: Lower case

Value resolver – Abstract

Purpose: Replaces all relevant characters of the string passed as input value with their equivalent 'in upper case'.


images/download/attachments/106957021/image2022-6-22_17-34-15-version-1-modificationdate-1655912055979-api-v2.png

The Upper case value resolver replaces all relevant characters of the string passed as input value with their equivalent in 'Upper case' letters.

NOTE

  • If there is no value ($null) as input value, the return value is also ($null).

  • For input values that are not strings, their string mapping is processed.

  • The value resolver generates the return value via the Java function toUpperCase(), which is then executed without explicit reference to a specific Locale. In this respect, the replacement scheme for the Locale defined by the execution context of the Lobster_pro server takes effect. For example, if the server is operated in an environment in the Turkish Locale (TR), the character 'i' is replaced by the character 'İ' and not by the otherwise common 'I' .

  • As the example (below) demonstrates, depending on the applicable replacement scheme, it is possible that one character (here the German 'ß') is replaced by several capital letters (here 'SS').

Configuration

The Upper case value resolver expects a string as input value and does not use any parameters.

Example

In the title of a message, a defined original text – here statically defined ("Upper case") – is displayed with the prefix 'Input:', while in the content of the message the text converted to upper case (with the prefix: 'Output:') appears.

Runtime example:

images/download/attachments/106957021/image2022-6-22_17-36-30-version-1-modificationdate-1655912190493-api-v2.png

Configuration:

Within a Show alert (Popup) event action, the Title and Message are defined as follows:

  • In the Title parameter, a Concat strings value resolver connects the static prefix 'Input: ' with the "Upper case" string, which is also statically defined here. The latter is written by concatenation with a Store value as variable value resolver into the variable input, which is referred to by the value assignment for the Message.

  • A Concat strings value resolver is also used in the message parameter to associate the prefix 'Output:' with the converted text. The input value for the conversion is provided by a Variable value resolver, which passes the value of the variable input to the Upper case value resolver via concatenation.

images/download/attachments/106957021/image2022-6-22_17-37-21-version-1-modificationdate-1655912241345-api-v2.png