Hi Jon,

> For this 'sindex' I think it would be good to first test if Frag is
> NIL, since with your version above (sindex NIL "foo") would give 1.

The 1 is (arguably) correct, because an empty string is a substring of
*every* string.

   : (pre? NIL "bla")
   -> "bla

♪♫ Alex
-- 
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe

Reply via email to