shared/string_utils library

Functions

escapeString(String value) String
Escapes special characters in a string for encoding.
findClosingQuote(String content, int start) int
Finds the index of the closing double quote in a string, accounting for escape sequences.
findUnquotedChar(String content, String char, [int start = 0]) int
Finds the index of a specific character outside of quoted sections.
unescapeString(String value) String
Unescapes a string by processing escape sequences.