JavaScript provides the basic functions for string and other operations, but one needs lot more when working on some complex routines. Fortunately, the JavaScript prototype extension model helps us make custom functions available to all core objects of that type. Anyway, coming back to point. JavaScript provides a string replace function, but it only replace […]