The ASP UCase function is used to convert a string to upper case. The string argument of the UCase function can be any valid string.
All lower case letters in the string passed as an argument to UCase are converted to upper case, while all upper case letters and special characters remain the same.
Consider the following ASP code:
<%
sMyString = "ASP-Hosting.ca"
sUpperCaseString = LCase(sMyString)
Response.Write(sUpperCaseString)
%>
The code above will print the following in your browser:
ASP-HOSTING.CA
|