UCase Function

Converts lowercase characters in a string to uppercase.

See also: LCase Function

Syntaks:

UCase (Text As String)

Returverdi:

Streng

Parametre:

Text: Any string expression that you want to convert.

Feilkoder

5 Ugyldig prosedyreoppkall

Eksempel:


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

Supporter oss!