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?