Asc
The Asc operator will return the ASCII code value for the
first character of the string parameter. Each character that makes
up a text string is stored internally as a binary number. The ASCII
standard allows different computer platforms to share information in
a standard format.
Dim cReturn
cReturn = vbCr Response.Write "ASCII Code for Return is: " & Asc(cReturn)
The most common use for the Asc function is for filtering out
specific ranges of characters from an input or string. Using the
less than (<) or greater than (>) operator, you can check if a
character falls within an illegal range of character codes.
The counterpart for this function is the Chr function which
will convert an ASCII code into the character it represents.
|
 |

|