Ben Nadel
On User Experience (UX) Design, JavaScript, ColdFusion, Node.js, Life, and Love.
Ben Nadel at Scotch On The Rock (SOTR) 2010 (London) with: Michael Offner-Streit and Tanja Stadelmann and Gert Franz and Pierre Olivier Chassay and Paul Klinkenberg and Marcos Placona
Ben Nadel at Scotch On The Rock (SOTR) 2010 (London) with: Michael Offner-Streit , Tanja Stadelmann , Gert Franz@gert_railo ) , Pierre Olivier Chassay , Paul Klinkenberg@frinky ) , and Marcos Placona@marcos_placona )

Magmatrix

Member since Feb 28, 2009

Recent Blog Comments By Magmatrix

  • Ask Ben: Javascript String Replace Method

    Posted on Feb 28, 2009 at 11:27 AM

    Please note that you have a race condition if you do something like: s="my string with % percent in it"; s.replaceAll("%","%20"); // URL encoding example Any "%" will be replaced with "%20", which will then be replaced with "%%20", then "%%%20" and so, using 100% cpu, eating memory until your brow... read more »