home *** CD-ROM | disk | FTP | other *** search
- <!--- This example shows the use of UCase --->
-
- <HTML>
-
- <HEAD>
- <TITLE>
- UCase Example
- </TITLE>
- </HEAD>
-
- <BASEFONT FACE="Arial, Helvetica" SIZE=2>
- <BODY bgcolor="#FFFFD5">
-
- <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>
-