replaceString the input string stringToEscape a substring in replaceString escapeString the string that precedes each occurrence ...