Shawn Olson Guestbook

Shawn Olson Guestbook

Otto Teixeira said: [ Regarding Strip Character and Whitespace in JavaScript Function ]

Why not use the built in replace() function?
string.replace(/,/g, "");


Subscribe to this guestbook 

Shawn Olson said: [ See Comment Stimulus ]



Otto... yes, your question is very good. I cannot say why I chose to write a custom function to handle that. There may have been some quirk in one of the browsers back then... it's hard to say. I may not have been thinking clearly due to working late or sipping too much wine!



Thanks for the input.


Please note that not all of the ideas, opinions and statements made in this guestbook necessarily represent the views and opinions of Shawn Olson.

This guestook is kept spam-free by the protection of the GoodGuest System.

Featured Articles by Shawn Olson

sitemap RGB Color Columbus Photography Free Word Search Maker monty hall game Hangman John Dewey