Returns string converted to uppercase.
See also LCase.
UCase(string)
String being converted to uppercase.
<!--- This example shows the use of UCase ---> <HTML> <HEAD> <TITLE> UCase Example </TITLE> </HEAD> <BODY BGCOLOR=silver> <H3>UCase Example</H3> <CFIF IsDefined("FORM.sampleText")> <CFIF FORM.sampleText is not ""> <P>Your text, <CFOUTPUT>#FORM.sampleText#</CFOUTPUT>, returned in uppercase is <CFOUTPUT>#UCase(FORM.sampleText)# </CFOUTPUT>. <CFELSE> <P>Please enter some text. </CFIF> </CFIF> <FORM ACTION="ucase.cfm" METHOD="POST"> <P>Enter your sample text, and press "submit" to see the text returned in uppercase: <P><INPUT TYPE="Text" NAME="SampleText" VALUE="sample"> <INPUT TYPE="Submit" NAME="" VALUE="submit"> </FORM> </BODY> </HTML>