or even $s = function(s) { p = s.replace(/#{/g, "' + ").replace(/}/g, " + '") p = "'" + p + "'" return eval(p) }
- [jQuery] Re: ruby style string manipulation Stephan Beal
- [jQuery] Re: ruby style string manipulation weepy
- [jQuery] Re: ruby style string manipulation Michael Geary
- [jQuery] Re: ruby style string manipulation Mateusz Misiorny