VBScript UCase Functie
Definitie en Gebruik
De UCase functie kan de opgegeven string omzetten in hoofdletters.
Tip:Zie ook de LCase functie.
Syntaxis
UCase(string)
Parameters | Beschrijving |
---|---|
string | Verplicht. Moet worden omgezet in een hoofdletter string. |
Voorbeeld
Voorbeeld 1
dim txt txt="This is a beautiful day!" document.write(UCase(txt))
Uitvoer:
DIT IS EEN SCHONE DAG!
Voorbeeld 2
dim txt txt="This Is a Beautiful Day!" document.write(UCase(txt))
Uitvoer:
DIT IS EEN SCHONE DAG!