;;;; Programmer: Kevin M. Rosenberg
;;;; Date Started: Apr 2000
;;;;
-;;;; $Id: strings.lisp,v 1.19 2003/05/05 20:08:17 kevin Exp $
+;;;; $Id: strings.lisp,v 1.20 2003/05/05 21:49:48 kevin Exp $
;;;;
;;;; This file, part of KMRCL, is Copyright (c) 2002 by Kevin M. Rosenberg
;;;;
((null end)
(if (< pos len)
(push (subseq string pos) output)
- (unless (or skip-terminal (null output))
+ (when (or (not skip-terminal) (zerop len))
(push "" output)))
(nreverse output))
(declare (type fixnum pos len)