Funkcja VBScript UCase
❮ Pełne odniesienie do VBScript
Funkcja UCase konwertuje określony ciąg na wielkie litery.
Wskazówka: spójrz także na funkcję LCase.
Składnia
UCase(string)
Parameter | Description |
---|---|
string | Required. The string to be converted to uppercase |
Przykłady
Przykład 1
<%
txt="This is a beautiful day!"
response.write(UCase(txt))
%>
Wynikiem powyższego kodu będzie:
THIS IS A BEAUTIFUL DAY!
Przykład 2
<%
txt="This is a BEAUTIFUL day!"
response.write(UCase(txt))
%>
Wynikiem powyższego kodu będzie:
THIS IS A BEAUTIFUL DAY!
❮ Pełne odniesienie do VBScript