Adding A Splice() Method To The Javascript String Prototype
Updated: 2011-03-29 16:13:47
In my blog post yesterday on using slice(), substring(), and substr() in Javascript to perform substring extraction , Andy Matthews and I got into a brief discussion about how in many languages, at a core level, strings are nothing more than arrays of characters. This concept got me thinking - if both Arrays and Strings in Jav ... ead More raquo;