LCASE  
Description

Converts the alphabetic characters in a string to lowercase.

 
Returns

A string, converted to lowercase.

 
Category

String functions

 
Function syntax
LCase(string)
 
See also

UCase

 
Parameters

 
Example
<h3>LCase Example</h3>

<cfif IsDefined("FORM.sampleText")>
   <cfif FORM.sampleText is not "">
      <cfoutput>
      <p>Your text, <b>#FORM.sampleText#</b>, returned in lowercase is 
      <b>#LCase(FORM.sampleText)#</b>.</p>
   <   /cfoutput> 
   <cfelse>
      <   p><b><i>Please enter some text.</i></b></p>
   </cfif>
</cfif>

<p>Enter your text. Press "submit" to see it returned in lowercase: </p>

<form method="post" action = "<cfoutput>#cgi.script_name#</cfoutput>" 
name="lcaseForm">
<input type = "Text" name = "SampleText" value = "SAMPLE">
<input type = "Submit" name = "" value = "submit">
</form> 

A string or a variable that contains one

STRING