UCase Function

Converts lowercase characters in a string to uppercase.

See also: LCase Function


UCase (Text As String)

Return value:

ھەرپ-بەلگە تىزىقى


Text: Any string expression that you want to convert.

Error codes:

D'oh! You found a bug (text/sbasic/shared/00000003.xhp#err5 not found).


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

Please support us!