quote_string(s)
public

Quotes a string, escaping any ’ (single quote) characters.