From the mind of Kon Pik…

Hopeless without the internet

cross-browser

Cross-Browser Javascript String Functions: substr, substring, or splice?

Recently I had to do some relatively simple string manipulations. I’ve always been taught to use the .substring method in all the languages I’ve ever used. Javascript actually offers several different approaches. So while I did not have to do anything computationally intensive, I was curious as to which of the following methods actually performed […]

Tags: , , , , , , ,

Posted in javascript, web | Comments