erc-subseq

erc-subseq is a compiled Lisp function in `erc-compat.el'.

(erc-subseq SEQ START &optional END)

Return the subsequence of SEQ from START to END.
If END is omitted, it defaults to the length of the sequence.
If START or END is negative, it counts from the end.