| Allegro CL version 10.1 Unrevised from 10.0 to 10.1. 10.0 version |
Arguments: prefix sequence
This function returns non-nil
value if
sequence starts with prefix.
prefix and sequence can each
be any sequence.
The value returned when sequence does start with prefix is the index into sequence just after prefix.
(prefixp "foo" "foobar") => 3 (prefixp "foo" "foo") => 3 (prefixp "foo1" "foo2") => nil (prefixp '(1 2 3) '(1 2 3 4 5 6 7)) => 3 (prefixp (list #\f) "foo") => 1 (prefixp "f" (vector \#f #\o)) => 1
Copyright (c) 1998-2022, Franz Inc. Lafayette, CA., USA. All rights reserved.
This page was not revised from the 10.0 page.
Created 2019.8.20.
| Allegro CL version 10.1 Unrevised from 10.0 to 10.1. 10.0 version |