Name

LCase Function

Syntax

LCase(string)
string

Use: Required

Data Subtype: String

A valid string expression.

Return Value

A variant of subtype String.

Description

Converts a string to lowercase.

Rules at a Glance

  • LCase affects only uppercase letters; all other characters in string are unaffected.

  • LCase returns Null if string contains a Null.

VBScript/VB & VBA Differences

There is no LCase$ function available in VBScript.

Get VBScript in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.