Replaced an explicit loop with a a replace().
Merge pull request #3 from uhop/master

Replaced an explicit loop with a a replace().