Function: sc-attribs-chop-namestring
sc-attribs-chop-namestring is a byte-compiled function defined in
supercite.el.gz.
Signature
(sc-attribs-chop-namestring NAMESTRING)
Documentation
Convert NAMESTRING to a list of names.
example: (sc-attribs-chop-namestring "John Xavier Doe")
=> ("John" "Xavier" "Doe")
Source Code
;; Defined in /usr/src/emacs/lisp/mail/supercite.el.gz
(defun sc-attribs-chop-namestring (namestring)
"Convert NAMESTRING to a list of names.
example: (sc-attribs-chop-namestring \"John Xavier Doe\")
=> (\"John\" \"Xavier\" \"Doe\")"
(if (string-match "\\([ \t]*\\)\\([^ \t._]+\\)\\([ \t]*\\)" namestring)
(cons (match-string 2 namestring)
(sc-attribs-chop-namestring (substring namestring (match-end 3))))))