Sometimes you run into a situation where you want to add functionality to an existing data type. It might be a string, integer, array or perhaps one of the built in classes that you want to add new functionality to.
Exactly how do you do this ?
You can’t just edit the framework and add new methods to the String type.… Read the rest