Lowercase

From Xojo Documentation

Revision as of 22:19, 30 July 2019 by Gperlman (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
fa-info-circle-32.png
Lowercase (the global function) is here for compatibility with Visual Basic. You should instead use String.Lowercase.
Method

Converts all characters in a string to lowercase characters.

Syntax

result=sourceVariable.Lowercase

Part Type Description
result String A copy of the original string with all characters converted to their lowercase equivalent.
sourceVariable String The original string.

Notes

Returns the value with all alphabetic characters in lowercase.

Examples

The examples below convert the value passed to lowercase.

Var result As String
Var source As String = "tHe Quick fOX"
result = source.Lowercase // returns "the quick fox"

source = "THE 5 LAZY DOGS"
result = source.Lowercase // returns "the 5 lazy dogs"

See Also

Titlecase, Uppercase functions.