With a sepacialized splitter:
(defun split-string (string)
(loop
:with in-word := nil
:with result := '()
:with start := 0
:for pos :from 0
:for chr :across string
:do (if in-word
(when (char= #\space chr)
(setf in-word nil)
(push (subseq string start pos) result))
(when (char/= #\space chr)
(setf start pos
in-word t)))
:finally (when in-word
(push (subseq string start pos) result))
(return (nreverse result))))
| Sysop: | Amessyroom |
|---|---|
| Location: | Fayetteville, NC |
| Users: | 54 |
| Nodes: | 6 (1 / 5) |
| Uptime: | 21:47:07 |
| Calls: | 742 |
| Files: | 1,218 |
| D/L today: |
6 files (8,794K bytes) |
| Messages: | 186,234 |
| Posted today: | 1 |