User Guide Cancel

UCase

 

Description

Converts the alphabetic characters in a string to uppercase.

Returns

A copy of a string, converted to uppercase.

Category

String functions

Function syntax

UCase(string)
UCase(string)
UCase(string)

See also

LCase

Parameters

Parameter

Description

string

A string or a variable that contains one

Example

<cfscript>
string="the quick brown fox jumps over the lazy dog"
writeOutput(UCase(string))
</cfscript>
<cfscript> string="the quick brown fox jumps over the lazy dog" writeOutput(UCase(string)) </cfscript>
<cfscript>
    string="the quick brown fox jumps over the lazy dog"
    writeOutput(UCase(string))
</cfscript>

Get help faster and easier

New user?