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
Len Function
Mid Function
Right Function
FUNCTION: Left( )
Implemented in version 1.0
Left
(String, Length)
The
Left
function returns the left portion of the designated string for a designated length.
There are two mandatory arguments.
String
The
String
argument is the name of the string you wish to truncate.
Length
The
Length
argument is the number of characters (including blanks) you wish to save counting from the left side towards the right side of the string.
Code:
<% =Left("abcde fghij klmno pqrst uvwxyz", 13) %>
Output:
abcde fghij k
Copyright 1999-2005 by Infinite Software Solutions, Inc. All rights reserved.
Trademark Information