Coding With Fun
Home Docker Django Node.js Articles Python pip guide FAQ Policy

VBScript UCase function


May 13, 2021 VBScript


Table of contents


VBScript UCase function

The string returned by the VBScript UCase function has been converted to capital letters.


VBScript UCase function Complete VBScript reference manual

The UCase function converts the specified string to capital.

Tip: See LCase function.

Grammar

UCase(string)

parameter describe
string Required.It is necessary to convert a string of uppercase.

Instance 1

<script type="text/vbscript">

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

</script>

The above example output results:

THIS IS A BEAUTIFUL DAY!

Try it out . . .

Instance 2

<script type="text/vbscript">

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

</script>

The above example output results:

THIS IS A BEAUTIFUL DAY!

Try it out . . .

VBScript UCase function Complete VBScript reference manual