Returns the string representation of LISP data as if it were output by the princ function
(vl-princ-to-string data)
A string containing the printed representation of data as if displayed by princ.
_$ (vl-princ-to-string "abc")
"abc"
_$ (vl-princ-to-string "c:\\acadwin")
"C:\\ACADWIN"
_$ (vl-princ-to-string 'my-var)
"MY-VAR"
See Also
-
The vl-prin1-to-string function.