Quoting and escaping transformations.
- Since:
-
10.5.0
Members
-
conditionalQuote
-
Wrap the string in double quotes only if it contains whitespace and is not already quoted.
- Since:
-
10.5.0
-
normalizeQuotes
-
Normalize all quoting to a given style (best effort, handles escapes).
- Since:
-
10.5.0
-
quoteWith
-
Create a wrapper that quotes text with the chosen quote character.
- Since:
-
10.5.0
-
removeAllQuotes
-
Remove all quotes from the input string.
- Since:
-
10.5.0
-
removeUnprotectedQuotes
-
Remove all single and double quote characters that appear outside square brackets (
[...]). Quotes inside brackets are preserved unchanged.This allows bracket‑notation expressions like
["Fast MA Period"]to keep their internal quoting while stripping loose wrapping quotes elsewhere.- Since:
-
10.5.0
-
unescapeBackslashes
-
Remove backslash escapes from escaped characters.
- Since:
-
10.5.0
-
unquote
-
Remove exactly one level of matching single or double quotes. If the string is not wrapped in matching quotes, return it unchanged.
- Since:
-
10.5.0
