|
Convert to upper / lower case using JScript
This shows how to convert a string to upper or
lower case using JScript
Code :
<%@ Language = "JScript" %>
<%
'this is our sample string
var strSample = new String("This IS our test sTRIng");
'convert to upper case using the toUpperCase method
Response.Write (strSample.toUpperCase());
'convert to lower case using the toLowerCase method
Response.Write (strSample.toLowerCase());
%>
|