RAD function: toupper

A RAD function that converts all lower–case characters in a string variable to upper–case characters. Characters with no upper–case equivalent remain the same.

Function

toupper

Format

toupper($string)

Parameters

The following parameter is valid for the toupper function:

Parameter Data type Description
$string String The string variable containing lower-case characters.

Factors

Character conversions are based on the value of the language parameter.

Example

$s=toupper("Copyright 2004")

After execution, the value of $s is COPYRIGHT 2004.