Function: sc-name-substring

sc-name-substring is a byte-compiled function defined in supercite.el.gz.

Signature

(sc-name-substring STRING START END EXTEND)

Documentation

Extract the specified substring of STRING from START to END.

EXTEND is the number of characters on each side to extend the substring.

Source Code

;; Defined in /usr/src/emacs/lisp/mail/supercite.el.gz
(defun sc-name-substring (string start end extend)
  "Extract the specified substring of STRING from START to END.
EXTEND is the number of characters on each side to extend the
substring."
  (and start
       (let ((sos (+ start extend))
	     (eos (- end extend)))
	 (substring string sos
		    (or (string-match sc-titlecue-regexp string sos) eos)))))