escapeCharacterForString

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