Text.Uppercase

From Xojo Documentation

Method

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

Supported for all project types and targets.

Returns a new text value that has its characters uppercased. If the locale parameter is non-Nil, it will use that locale’s rules when performing the operation.

Sample Code

Set text to upper case:

Dim t As Text = "Hello, World!"
t = t.Uppercase ' t = "HELLO, WORLD!"