Using the replace function to implement a replaceAll function.

This tip demonstrates different ways of implmenting a replaceAll and discusses their pros and cons. It shows both the easiest "set & forget" method as well as demonstrating the best way to code for maximum performance.

 

Share this Listing