Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
Javascript
Trim functions
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
Reply to thread
Message
[QUOTE="RobG, post: 4972681"] There is an interseting examination of varions trim functions here: <URL: [URL]http://blog.stevenlevithan.com/archives/faster-trim-javascript[/URL] > 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. [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
Javascript
Trim functions
Top