From Xojo Documentation


Text.Lowercase(Optional locale As Xojo.Core.Locale = Nil) As Text

Supported for all project types and targets.

Creates a new text value that has its characters lowercased. If locale is non-Nil, it uses the locale’s rules when performing the operation.

Sample Code

Set text to lower case:

Dim t As Text = "Hello, World!"
t = t.Lowercase ' t = "hello, world!"