ToUppercase (open)

Converts a string to uppercase.

Syntax

// Core function, no LOADLIB necessary

STRING FUNCTION ToUppercase(STRING src)

Parameters

STRING src

The string to convert

Return value

STRING

The string, converted to uppercase

Description

Converts all ASCII characters in 'src' to uppercase. This function will not convert any lowercase UTF-8 characters to uppercase.

Examples

// returns 'ABCDEF'
STRING example1 := ToUppercase("abcdef");

// returns 'A-B-C-D-E-F'
STRING example2 := ToUppercase("a-b-c-d-e-f");