Arguments: |
|
---|
Escape a string. param {string} orig the original string param {string} quot the quote character to wrap the string in. If null, doesn’t wrap in anything. returns {string} the original string in a form suitable for use as a literal, wrapped in the specified quotes.