Added replace String function