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











FUNCTION:  Trim( )

Trim(String)
 
The Trim function removes extra blank spaces on both the right and left side of a string.
 
Note that HTML automatically removes extra blank spaces in this view.
 
In this example, note that the extra white spaces are removed from both sides.
Code:
<% =Trim("   How now brown cow?     ") %>
 
Output:
How now brown cow?


 


Copyright 1999-2005 by Infinite Software Solutions, Inc. All rights reserved.
Trademark Information