R
RobG
There is an interseting examination of varions trim functions here:
<URL: http://blog.stevenlevithan.com/archives/faster-trim-javascript >
The best all-round function seems to be trim3 when strings have lots
of leading and trailing whitespace, which is when other functions slow
down and speed is of most importance.
<URL: http://blog.stevenlevithan.com/archives/faster-trim-javascript >
The best all-round function seems to be trim3 when strings have lots
of leading and trailing whitespace, which is when other functions slow
down and speed is of most importance.