Lowercase
From Xojo Documentation
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"
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"