2021年1月18日星期一

Un-Escaping double quotes in a Common Lisp string

For generating a string command for using in uiop:run-command I need to have a string which contains other strings (as required by the command in question). However the command (Fontforg's legacy scripting language) requires that some strings are enclosed in double quotes, e.g.:

"fontforge -lang=ff -c 'Print("A Doublequote String")'"  

How can I get such a string with the "A Doublequote String" being literally part of the command-string, i.e. no doublequote being escaped?

https://stackoverflow.com/questions/65784242/un-escaping-double-quotes-in-a-common-lisp-string January 19, 2021 at 09:15AM

没有评论:

发表评论