Internal
Splits a comma-separated list while preserving quoted strings.
This is essential for correctly parsing HLS attribute lists where values may contain commas inside quotes.
The comma-separated attribute string
Array of individual attribute key=value pairs
splitByCommaWithPreservingQuotes('a="1,2",b=hello');// ['a="1,2"', 'b=hello'] Copy
splitByCommaWithPreservingQuotes('a="1,2",b=hello');// ['a="1,2"', 'b=hello']
Splits a comma-separated list while preserving quoted strings.
This is essential for correctly parsing HLS attribute lists where values may contain commas inside quotes.