Quick References
ADO
ASP
CSS2
HTML
JavaScript
Jet SQL
VBScript
WML
WMLScript
WSH
XHTML
XML DOM
XSLT
Features
Knowledge Base
Tutorials
Partners
ZVON.ORG
XML
Planet Source Code
VisualBuilder
Web Design
Your HTML Source
XML/XSLT Forums
ASPAlliance
Scripts
Programmers Heaven
Tek-Tips Forums
Developer Fusion
Code Project
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-2005 by Infinite Software Solutions, Inc. All rights reserved.
Trademark Information