Wrap each line in quotes. Inner quotes can be doubled for CSV or escaped with a backslash.
CSV and many configs want every value in quotes, with quotes inside the value doubled. This page wraps each line. It is narrower than prefix and suffix, which can add any text and does not know about CSV doubling.
" into "" inside double quotes. “Backslash” writes \". “Leave them” does not touch the inside."".say "hi" then next becomes a quoted CSV-style line and a second quoted line.Each kept line is the quote, the possibly escaped text, and the same quote. Line breaks between values stay. The page does not add commas, so it is not a full CSV row. If you need commas between fields, join them after. Inner quotes of the other kind are left alone: a single quote inside double quotes is not doubled.
CSV escaping doubles an inner quote. Switch to Backslash or Leave them if you wanted a programming-language string instead.
Use prefix and suffix for an arbitrary wrapper.