LCase

Returns string converted to lowercase.

See also UCase.

Syntax

LCase(string)
string

String being converted to lowercase.

Examples

<!--- This example shows the use of LCase --->
<HTML>
<HEAD>
<TITLE>
LCase Example
</TITLE>
</HEAD>

<BODY bgcolor=silver>
<H3>LCase Example</H3>

<CFIF IsDefined("FORM.sampleText")>
    <CFIF FORM.sampleText is not "">
    <P>Your text, <CFOUTPUT>#FORM.sampleText#</CFOUTPUT>,
    returned in lowercase is  <CFOUTPUT>#LCase(FORM.sampleText)#
      </CFOUTPUT>.
    <CFELSE>
    <P>Please enter some text.
    </CFIF>
</CFIF>

<FORM ACTION="lcase.cfm" METHOD="POST">
<P>Enter your sample text, and press "submit" to see
the text returned in lowercase:

<P><INPUT TYPE="Text" NAME="SampleText" VALUE="SAMPLE">

<INPUT TYPE="Submit" NAME="" VALUE="submit">
</FORM>

</BODY>
</HTML>