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
InStr Function
FUNCTION: Len( )
Implemented in version 1.0
Len
(String)
Len
(Varname)
The
Len
function returns the length of the string or the byte size of the variable.
You can give the function the string or the string name,
String
or the variable name,
Varname
.
Code:
<% =Len("Clouded leopards are an endangered species.") %>
Output:
43
Code:
<% anystring ="Clouded leopards are an endangered species." %>
<% =Len(anystring) %>
Output:
43
Code:
<% anyvariable = 123.456 %>
<% =Len(anyvariable) %>
Output:
7
Copyright 1999-2001 by Infinite Software Solutions, Inc. All rights reserved.
Trademark Information