Added a replace String function