String Replacement

Added the ability to replace substrings in a string.