new VB-style Replace function