UCase Function

Converts lowercase characters in a string to uppercase.

See also: LCase Function

Syntaksa:

UCase (Text As String)

Typ wrośenja:

String

Parametry:

Text: Any string expression that you want to convert.

Error codes:

5 Invalid procedure call

Pśikład:


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

Pšosym pódprějśo nas!