vl-princ-to-string


(vl-princ-to-string expression)

This function returns lspObject converted into a string, using (princ) logic.

Arguments

lspObject  (any Lisp value or expression) the Lisp data to be converted

Return

(string) the representation of lspObject as a string

Example

(setq lst '(1 2.0 "a"))  (1 2.0 "a")
(vl-princ-to-string lst)  "(1 2.0 a)"

Remarks

this function uses same conversion rules as (princ) function;
see (vl-prin1-to-string) function



©  Bricsys NV. All rights reserved.