Features
Ask DevGuru
ASP Resources
Find the Bug
Knowledge Base
Links
Tips of the Week
Tutorials
Products
dgCalendar
dgCharge New!
dgChart New!
dgFileUpload
dgReport New!
dgSort
dgTree
Site
Authoring
Coming Soon
DevGuru Resume
Link to Us
Merchandise
Sponsorships
Testimonials
What's New
Technologies
ADO 2.6
ASP
CSS2
HTML
JavaScript
Jet SQL
Transact-SQL Syntax
VBScript
WML
WMLScript
WSH
XML DOM
All Functions
Chr Function
FUNCTION: Asc()
Implemented in version 1.0
Asc
(String)
The
Asc
function returns the ANSI character code value for the first character in a string.
In these two examples, note that the ANSI value is returned only for the "a".
Code:
<% =Asc("abcde fghij klmno pqrst uvwxyz") %>
Output:
97
Code:
<% =Asc("a") %>
Output:
97
Copyright 1999-2001 by Infinite Software Solutions, Inc. All rights reserved.
Trademark Information