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
|
|
Parameter |
Description |
string |
A string or a variable that contains one |
|
|
Example<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>
|