replace() and one signature for substring()