ASP Hosting sale!
1,000MB space, 40GB transfer, 1 SQL Server 2000 db! - $9.95 per month*!
Limited Time Offer!

aspdev | articles | tutorials | forums

ASPdev -> ASP Articles -> ASP UCase Function

ASP UCase Function

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




Contact Us