escape_string

Function escape_string 

Source
pub fn escape_string(text: &str) -> String
Expand description

Converts text into an AppleScript string literal.

The result is wrapped in double quotes, and any " or \ characters are escaped with a leading backslash.