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.

541 <strong>zl</strong>:string-not-greaterp<br />

(string-not-greaterp "apple" "apple") => 5<br />

(string-not-greaterp "apple" 'apple) => 5<br />

(string-not-greaterp "sneeze" "snow") => 2<br />

(string-not-greater~ "elephant" "aardvark") => NIL<br />

(string-not-greaterp "ZY" nab") => NIL<br />

(string-not-greaterp "painting" "interest" :start1 2 :end1 5) => 5<br />

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

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

<strong>zl</strong>:string-not-greaterp stringl string2 &optional (idxl 0) (idx2 0) Function<br />

liml lim2<br />

This compares two strings or substrings of them. The comparison ignores<br />

character fields for character style and alphabetic 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 o.<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-not-greaterp "apple" "apple") => T<br />

(<strong>zl</strong> :string-not-greaterp "apple" 'apple) => T<br />

(<strong>zl</strong> :string-not-greaterp "sneeze" "snow") => T<br />

(<strong>zl</strong> :string-not-greaterp "elephant" "aardvark") => NIL<br />

(<strong>zl</strong> :string-not-greaterp "ZY" nab") => NIL<br />

(<strong>zl</strong> :string-not-greaterp "painting" "interest" 2 B 5) => T<br />

I<br />

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

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

string-not-Iessp stringl string2 &key (startl 0) (endl nil) (start2 0) Function<br />

(end2 nil)<br />

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

them. The comparison ignores character fields for character style and alphabetic<br />

case.

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

Saved successfully!

Ooh no, something went wrong!