17.05.2015 Views

zl:1 - FTP

zl:1 - FTP

zl:1 - FTP

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

511<br />

<strong>zl</strong>:string<<br />

(string< "ostrich" "giraffe") => NIL<br />

(string< "demo" "demonstrate") => 4<br />

(string< "abcd" "bazy") => e<br />

(string< "fred" "Fred") => NIL<br />

(string< "Chicken" "chicken") => e<br />

(string< "apple" "nap" :start2 1) => NIL<br />

(string< "test" "overestimate" :start1 1 :start2 4) => 5<br />

For a table of related items: See the section "Case-Sensitive String Comparison<br />

Predicates" in Symbolics Common Lisp: Language Concepts.<br />

<strong>zl</strong>:string< stringl string2 &optional (idxl 0) (idx2 0) liml lim2 Function<br />

This is a comparison predicate that compares two strings or substrings of<br />

them, exactly, depending on all fields including bits, style, and alphabetic<br />

case.<br />

The optional arguments let you specify substrings of the two string arguments<br />

for comparison.<br />

idxl<br />

idx2<br />

liml<br />

lim2<br />

Examples:<br />

Specifies the position within stringl from which to begin the<br />

comparison (counting from 0). Default is 0, the first character<br />

in the string.<br />

Specifies the position within string2 from which to begin the<br />

comparison. Default is .0.<br />

Specifies the position within stringl of the first character beyond<br />

the end of the comparison. Default is nil, that is, the operation<br />

continues to the end of the string.<br />

Specifies the position within string2 of the first character beyond<br />

the end of the comparison. Default is nil.<br />

(<strong>zl</strong> :string< "ostrich" "giraffe") => NIL<br />

(<strong>zl</strong> :string< "demo" "demonstrate") => T<br />

(<strong>zl</strong> :string< "abcd" "bazy") => T<br />

(<strong>zl</strong> :string< "fred" "Fred") => NIL<br />

(<strong>zl</strong> :string< "Chicken" "chicken") => T<br />

(<strong>zl</strong> :string< "apple" "nap" e 1) => NIL<br />

(<strong>zl</strong>:string< "test" "overestimate" 1 4) => T<br />

For a table of related items: See the section "Case-Sensitive String Comparison<br />

Predicates" in Symbolics Common Lisp: Language Concepts.<br />

I<br />

string

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!