uppercase_of_characters

This function is used to convert a text fragment to uppercase.

The uppercase_of_characters function ignores word processor instructions and correctly converts Unicode characters.

uppercase_of_characters (complete_text; starting_position; length )

The function has three parameters:

  1. complete_text, type TEXT; contains the text of which a part has to be converted to uppercase.
  2. starting_position, type NUMBER; contains the starting position in the text from which characters have to be converted.
  3. length, type NUMBER; contains the number of characters that need to be converted.

The result of the function is type TEXT; the complete text with the specified fragment converted to uppercase.

Example

@( uppercase_of_characters ( "this is an Example"; 6; 2 ) ) 

Result: this IS an Example

Note that the construction @ ( ) around the function means that the result of the function is displayed in the text. This construction must be used in a text part of a model document. The switch from ITP mode to text mode in a model document is made with the # characters. An ITP model document starts in text model, the #BEGIN makes the switch to ITP mode.