Module string

Module string 

Source

Functionsยง

escape_string
Escape special characters in a string for quoted output.
is_valid_unquoted_key
Check if a key can be written without quotes (alphanumeric, underscore, dot).
needs_quoting
Determine if a string needs quoting based on content and delimiter.
quote_string
Quote and escape a string.
split_by_delimiter
unescape_string
Unescape special characters in a quoted string.