Description

Converts the input parameter's contents from lower/mixed case to upper case.

Syntax

convertedText = UCASE( text )

Parameters

The function has the following parameters:

ParameterDescription
textA string of data.

Returns

Upper case text.

Remarks

The function is a wrapper around a "convert @lower_case to @upper_case in text" statement. It is more efficient to use a "convert" statement than to use the UCASE function.

See also

LCASE functionConvert statementOConv (MCx) function

Example

declare function UCASE
 
text = "All work and no play make Jack a dull boy."
uText = UCASE( text )
 
* After execution, uText will contain "ALL WORK AND NO PLAY MAKE JACK A DULL BOY."
  • No labels