17.05.2015 Views

zl:1 - FTP

zl:1 - FTP

zl:1 - FTP

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

string-char<br />

520<br />

Examples:<br />

(<strong>zl</strong> :string-capitalize-words "Lisp-listener")<br />

=> "Lisp Listener"<br />

(<strong>zl</strong> :string-capitalize-words "LISP-LISTENER")<br />

=> "Lisp Listener"<br />

(<strong>zl</strong> :string-capitalize-words "lisp--listener")<br />

=> "Lisp Listener"<br />

(<strong>zl</strong> :string-capitalize-words "symbol-processor-3" t t)<br />

=> "Symbol-Processor-3"<br />

(<strong>zl</strong> :string-capitalize-words "use--some-hyphens" nil)<br />

=> "Use Some Hyphens"<br />

I<br />

(<strong>zl</strong> :string-capitalize-words "use--some-hyphens" nil t)<br />

=> "Use Some Hyphens"<br />

The Symbolics Common Lisp equivalent to <strong>zl</strong>:string-capitalize-words are<br />

the functions:<br />

nstring-capitalize-words<br />

string-capitalize-words<br />

For a table of related items: See the section "String Conversion" in Symbolics<br />

Common Lisp: Language Concepts.<br />

string-char<br />

Type Specifier<br />

string-char is the type specifier symbol for the predefined Lisp string<br />

character data type.<br />

The type string-char is a subtype of the type character.<br />

The type string-char is a supertype of the type standard-char.<br />

Examples:<br />

(setq a-string (make-array 3 :element-type Jstring-char<br />

:initial-element #\J» => JJJ<br />

(typep (char a-string 2) Jstring-char) => T<br />

(setq b-string (make-string 9 :initial-element #\.» =><br />

(typep (char b-string 4) Jstring-char) => T<br />

(subtypep Jstring-char Jcharacter) => T and T

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

Saved successfully!

Ooh no, something went wrong!