add percent delimiter and change order of arguments for Replace() method