trim equivalent

Giganews Newsgroups
Subject: trim equivalent
Posted by:  alex (al…@wireimage.com)
Date: Thu, 24 Jul 2003

i can't find a vbscript trim function equivalent in javascript. what's the
easiest way to clean white space out from the beginning and end of a string
in javascript?

Replies