Function: eshell-substring
eshell-substring is a byte-compiled function defined in
esh-util.el.gz.
Signature
(eshell-substring STRING SUBLEN)
Documentation
Return the beginning of STRING, up to SUBLEN bytes.
Source Code
;; Defined in /usr/src/emacs/lisp/eshell/esh-util.el.gz
(defsubst eshell-substring (string sublen)
"Return the beginning of STRING, up to SUBLEN bytes."
(if string
(if (> (length string) sublen)
(substring string 0 sublen)
string)))