To convert string uppercase literals into lowercase literals or lowercase literals into uppercase literals, ASP (specifically VBS) comes with two functions
LCase: Convert to lowercase
UCase: Convert to uppercase
The following is the code in ASP, which can directly demonstrate the effect.
Copy the code code as follows:
<%
dim str,str1,str2
str="AbCdEf"
str1=LCase(str)
str2=UCase(str)
Response.write("LCase converts to lowercase"&str1 & ",UCase converts to uppercase" & str2)
%>
In .NET, the string is converted to uppercase ToUpper() and the string is converted to lowercase ToLower().