Search code examples
regexlanguage-agnosticquotesmagic-quotes

Seeking quoted string generator


Does anyone know of a free website or program which will take a string and render it quoted with the appropriate escape characters?

Let's say, for instance, that I want to quote

It's often said that "devs don't know how to quote nested "quoted strings"".

And I would like to specify whether that gets enclosed in single or double quotes. I don't personally care for any escape character other than backslash, but other's might.


Solution

  • so, I guess the answer is "no". Sorry, guys, but I didn't learn anything that I don't know. Probably my fault for not phrasing the question correctly.

    +1 for everyone who posted