I see that Svante is right. My previous attempt did not work. Here is another try. I use concatenate to change a string in a list view. Then I use read-from-string to convert the string (s-2) to the actual list.
(setf s-0 "1 2 3 4 5 6 7") (setf s-1 (concatenate 'string "(" s ")" )) (setf s-2 (read-from-string s-1))
I will pass it into a function like this:
(defun from-string-to-list (s) (let ((L (read-from-string (concatenate 'string "(" s ")")))) L))
The sole purpose of "let" and "L" is to make the from-string-to-list function return only a list and not return multiple values. read-from-string returns two values: list and string size, I think.
source share