use integrated string-replace function