Function: erc--partition-prefixed-names
erc--partition-prefixed-names is a byte-compiled function defined in
erc.el.gz.
Signature
(erc--partition-prefixed-names NAME)
Documentation
From NAME, return a list of (STATUS NICK LOGIN HOST).
Expect NAME to be a prefixed name, like @bob.
Source Code
;; Defined in /usr/src/emacs/lisp/erc/erc.el.gz
(defun erc--partition-prefixed-names (name)
"From NAME, return a list of (STATUS NICK LOGIN HOST).
Expect NAME to be a prefixed name, like @bob."
(unless (string-empty-p name)
(let* ((status (erc--get-prefix-flag (aref name 0) nil 'from-prefix-p))
(nick (if status (substring name 1) name)))
(unless (string-empty-p nick)
(list status nick nil nil)))))