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