The text class includes Text node and String manipulation utilities.
Hemi framework utilities
Trims whitespace from the beginning and end of the input string value.
sTrimmed = trim( sString )
sTrimmed as String: Trimmed text value.
[ Hemi JavaScript Framework - Stephen W. Cote, 2002 - 2011. ]