To convert string uppercase literals to lowercase literals or lowercase literals to 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 lowercase & str1 &, UCase converts uppercase & str2)
%>
In .NET, the string is converted to uppercase ToUpper() and the string is converted to lowercase ToLower().