Get the ansi value of a character

Submitted by:Jhon Smith

Date added:16 May, 2011

Category:ASP

This code is used for getting the ansi value of a character

Tags: ansi value

Code Snippet:

<% 
Dim strChar1 , strChar2
strChar1 = "a"
strChar2 = "A"
Response.Write "The ansi value of a is " & Asc(strChar1) & "<br>"
Response.Write "The ansi value of A is " & Asc(strChar2) & "<br>"
%>
 
 

Comments