ASP Vbscript UCase String Function
Vbscript UCase string function provides the functionality to convert the string to uppercase in ASP web pages. Using vbscript UCase function, you can convert the string containing lower case and upper case letters to uppercase completely. Vbscript UCase function keeps the uppercase characters unchanged and converts the lowercase characters to uppercase in the provided string. Assign the string expression value to vbscript variable and pass the variable to vbscript UCase function to get the string in uppercase.
Classic ASP VbScript String Functions Examples:
You can see the live samples and examples of Classic ASP VbScript String functions from the following links:
Syntax for ASP Vbscript UCase String Function
UCase function accepts the string type value or vbscript variable having string type value containing both lowercase and uppercase letters that you want to convert into uppercase completely.
Examples of ASP Vbscript UCase String Function
<% Dim myString myString = "UCase String Function" Response.Write(UCase(myString)) %>
<% Dim myString myString = "UCASE STRING FUNCTION" Response.Write(UCase(myString)) %>
Vbscript UCase function converts only lowercase letters to uppercase. All other characters such as numeric digits and special characters including punctuation marks remain unchanged. UCase function performs action only on English alphabetical characters.
Click here to learn the ASP Vbscript LCase String Function.
Continue to next tutorial: ASP Vbscript InStr String Function Syntax to learn how to get the index of the specified string pattern from the string expression.