ASP/VBScript Asc() Returns the ANSI character code corresponding to the first letter in a string.
ShotDev Focus:
- Using Asp and Asc() function.
Example
asp_asc.asp
<% Option Explicit %>
<html>
<head>
<title>ShotDev.Com Tutorial</title>
</head>
<body>
<%
Response.write Asc("a")&"<br>"
Response.write Asc("b")&"<br>"
Response.write Asc("c")&"<br>"
Response.write Asc(1)&"<br>"
Response.write Asc("1")&"<br>"
%>
</body>
</html>
Create a asp file and save to path root-path/myasp/
Run
http://localhost/myasp/asp_asc.asp
Screenshot


