Skip to content

LCase - Built-in String Function

Purpose

LCase returns a string with all characters converted to lowercase.

Syntax

LCase(str)

Arguments

Argument Required Description
str Yes Any valid string expression which will be converted to lowercase

Returns

Variant with a string (VT_BSTR) value

Example

Let sTest = "Hello World"
Return LCase(sTest) // returns "hello world"

See Also

Notes

  • When str cannot be converted to a string, a runtime error is generated.