escapeStringForCharacter

Escape a string for a character (does not escape the '"' character.)