VBScript LCase-funktionen

Definition och användning

LCase-funktionen kan konvertera den angivna strängen till små bokstäver.

Tips:Se till UCase-funktionen.

Syntax

LCase(string)
Parameter Beskrivning
string Nödvändigt. Behöver konverteras till en liten sträng.

Example

Example 1

dim txt
txt="THIS IS A BEAUTIFUL DAY!"
document.write(LCase(txt))

Output:

this is a beautiful day!

Example 2

dim txt
txt="This Is a Beautiful Day!"
document.write(LCase(txt))

Output:

this is a beautiful day!