method

quote_string

quote_string(s)
public

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