Table of Contents

UCASE Function

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 function, Convert statement, OConv (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."