uppercase2

This function converts a text fragment to uppercase.

uppercase2 ( complete_text; starting_position; end_position )

The result of this function is of type TEXT. This is the text passed to the function with the characters between the start position and the end positions, and the characters of the start and end position, in uppercase.

This function has three parameters:

  1. complete_text, type TEXT.
    This is the text of which a part ( the text fragment ) has to be converted to uppercase.
  2. starting_position, type NUMBER.
    This is the starting position in the text from which the characters has to be converted.
  3. end_position, type NUMBER.
    This is the end position. The characters including the start position and up to and including the end position will be converted to uppercase.

Example

@( uppercase2( "this is an Example"; 6; 7 ) ) 

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.

Note

The setting EnhancedUnicodeSupport in the ITP/Server Administrator can be used to map the function uppercase2 automatically to the function uppercase_of_characters. Refer to topic Enhanced Unicode support for more information.