User Guide Cancel

LCase

 

Description

Converts the alphabetic characters in a string to lowercase.

Returns

A string, converted to lowercase.

Category

Syntax

LCase(string)
LCase(string)
LCase(string)

See also

Parameters

Parameter

Description

string

A string or a variable that contains one

Example

<cfscript>
myString1="THE ROLLING STONES"
writeOutput(LCase(myString1) & "<br/>") // the rolling stones
myString2="The Rolling Stones"
writeOutput(LCase(myString2)) // the rolling stones
</cfscript>
<cfscript> myString1="THE ROLLING STONES" writeOutput(LCase(myString1) & "<br/>") // the rolling stones myString2="The Rolling Stones" writeOutput(LCase(myString2)) // the rolling stones </cfscript>
<cfscript>
    myString1="THE ROLLING STONES"
    writeOutput(LCase(myString1) & "<br/>") // the rolling stones
    myString2="The Rolling Stones"
    writeOutput(LCase(myString2)) // the rolling stones
</cfscript>

Output

the rolling stones
the rolling stones

Get help faster and easier

New user?