simple compilation of [string replace]