VBScript UCase Function

The UCase function converts a specified string to uppercase."

Examples

Example 1

<%

txt="This is a beautiful day!"
response.write(UCase(txt))

%>

The output of the code above will be:

THIS IS A BEAUTIFUL DAY!

Example 2

<%

txt="This is a BEAUTIFUL day!"
response.write(UCase(txt))

%>

The output of the code above will be:

THIS IS A BEAUTIFUL DAY!

❮ Complete VBScript Reference