Code: Select all
(setq x ("Thomas")
(somefunction x))
(defun somefunction (x)
(print x))
I only want to print out the element and not the whole ()'s
output: Thomas
not: ("Thomas") or "Thomas"
Thanks
Code: Select all
(setq x ("Thomas")
(somefunction x))
(defun somefunction (x)
(print x))
Code: Select all
(defvar *list-with-one-element* '("Thomas"))
(format t "~a" (first *list-with-one-element*))