Text Documents (Writer)
HTML Documents (Writer Web)
Spreadsheets (Calc)
Presentations (Impress)
Drawings (Draw)
Database Functionality (Base)
Formulae (Math)
Charts and Diagrams
Macros and Scripting
Office Installation
Common Help Topics
OneOffice Logo

LCase Function

Converts all upper-case letters in a string to lower-case.

See also: UCase Function

Syntax:

LCase (Text As String)

Return value:

String

Parameters:

Text: Any string expression that you want to convert.

Error codes:

5 Invalid procedure call

Example:


Sub ExampleLUCase
Dim sVar As String
    sVar = "Las Vegas"
    Print LCase(sVar) ' "las vegas"
    Print UCase(sVar) ' "LAS VEGAS"
End Sub