Simplify by using String.replace
Merge pull request #1 from prust/master

Simplification (using String.replace())