programming-examples/asp/More_Code_Snippets/Get the ansi value of a character.asp

8 lines
205 B
Plaintext
Raw Permalink Normal View History

2019-11-18 14:25:58 +01:00
<%
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>"
%>