LCase

Description

Returns string converted to lowercase.

Category

String functions

Syntax

LCase(string) 

See also

UCase

Parameters

Parameter
Description
string
String to convert to lowercase

Example

<!--- 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>