<%@ LANGUAGE="JavaScript"%> Validation ASP

Validation ASP

<% var value = Request("word"); var svalue = new String(value); var leng = svalue.length; var ss; ss = svalue.substr(1,2); Response.Write("the value you entered is " + svalue + "

"); Response.Write("the length of the string is " + leng + "

"); Response.Write("the second & third characters of the string are " + ss + "

"); %>