quoteIfNeeded is:exact

Double-quote this string if it contains whitespace, single quotes or double-quotes, escaping the quotes as needed.