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

              











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-2001 by Infinite Software Solutions, Inc. All rights reserved.
Trademark Information