General "Replace" function replacement
Merge pull request #5 from Suitcaser/master

General "Replace" function replacement