(defun lisp-fn (n$ &aux ln)
(dotimes (n (length n$) (intern (coerce (nreverse ln) 'string)))
(let ((c (elt n$ n)))
(when (and (upper-case-p c)
(or (lower-case-p (elt n$ (1- n)))
(lower-case-p (elt n$ (1+ n)))))
(push #\- ln))
(push (char-upcase c) ln))))
(lisp-fn "sTuDlYcApS")S-TU-DL-YC-AP-S
| Sysop: | Amessyroom |
|---|---|
| Location: | Fayetteville, NC |
| Users: | 76 |
| Nodes: | 6 (0 / 6) |
| Uptime: | 55:37:16 |
| Calls: | 1,265 |
| Calls today: | 1 |
| Files: | 1,362 |
| D/L today: |
3 files (2,684K bytes) |
| Messages: | 285,684 |