eshell-substring

eshell-substring is a compiled Lisp function in `esh-util.el'.

(eshell-substring STRING SUBLEN)

Return the beginning of STRING, up to SUBLEN bytes.