Adds ability to replace base string