Just wait several years. When your article has long expired from Usenet servers
all over, a WJ reply will appear, with no References header or attribution,
solving this in whatever language he's tinkering with!
Here is one solution. Add a delimiting character to the string:
(with-input-from-string (s "1 2 3 4 x") (read-delimited-list #\x s))
Another solution: Add two delimiting characters. If we strategically
choose the characters #\( and #\), we get this:
(read-from-string "(1 2 3 4)")
Wrapping the first one up:
;; usual caveats about *read-eval* apply
(defun scan-numbers (str)
(let ((*read-eval* nil)) ;; omit if you trust the input
(with-input-from-string (s (catenate 'string str " x"))
(read-delimited-list #\x s))))
Ah fuck, that should be CONcatenate, of course! I can never remember
that piece of language abuse.