Static
decodeDecode content type formatted string as OINO serialization.
string to decode
Static
decodeCSVStatic
decodeStatic
decodeStatic
decodeJSONStatic
decodeStatic
encodeEncode OINO serialized string to the content type formatting.
string to encode
Static
encodeCSVStatic
encodeStatic
encodeStatic
encodeJSONStatic
encodeStatic
splitSplit string by the top level of the given type of brackets. E.g. splitByBrackets("a(bc(d))ef(gh)kl", true, true, '(', ')') would return ["a", "bc(d)", "ef", "gh", "kl"]
string to split
whether to include strings between top level brackets
whether to include final block that is missing necessary end brackets
starting bracket, e.g. '('
ending bracket, e.g. ')'
Static
splitSplit string by delimeter excluding delimeters inside given brackets. E.g. splitExcludingBrackets("a,(bc,d),ef,(g,h),k", ',', '(', ')') would return ["a", "bc,d", "ef", "g,h", "k"]
string to split
string to use as delimeter
starting bracket, e.g. '('
ending bracket, e.g. ')'
Static class string utilities.