Escape one CSV cell: neutralise spreadsheet formula injection, then apply RFC 4180 quoting.
Quoting is applied after the guard so a value that both starts with a trigger and contains the delimiter still gets wrapped.
Optional
Escape one CSV cell: neutralise spreadsheet formula injection, then apply RFC 4180 quoting.
Quoting is applied after the guard so a value that both starts with a trigger and contains the delimiter still gets wrapped.