LCase

Converts the alphabetic characters in a string to lowercase.

A string, converted to lowercase.

String functions

LCase(string)

UCase

Parameter Description

string

A string or a variable that contains one

<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">
<p>Enter your text. Press "submit" to see it returned in lowercase:

<p><input type = "Text" name = "SampleText" value = "SAMPLE">
<input type = "Submit" name = "" value = "submit">
</form>

View comments on LiveDocs