Extract the first
We just leave this enabled.
Function:
(defun strin-firstn (n x) (declare (xargs :guard (and (natp n) (strin-p x)))) (declare (xargs :guard (<= n (strin-len x)))) (let ((__function__ 'strin-firstn)) (declare (ignorable __function__)) (coerce (take n (strin-left x)) 'string)))