Movatterモバイル変換


[0]ホーム

URL:


[LISPWORKS][Common Lisp HyperSpec (TM)][Previous][Up][Next]


FunctionSTRING

Syntax:

stringx =>string

Arguments and Values:

x---astring, asymbol, or acharacter.

string---astring.

Description:

Returns astring described byx; specifically:

Examples:

 (string "already a string") =>  "already a string" (string 'elm) =>  "ELM" (string #\c) =>  "c"

Affected By: None.

Exceptional Situations:

In the case where a conversion is defined neither by this specification nor by theimplementation, an error oftypetype-error is signaled.

See Also:

coerce,string (type).

Notes:

coerce can be used to convert asequence ofcharacters to astring.

prin1-to-string,princ-to-string,write-to-string, orformat (with a first argument ofnil) can be used to get astring representation of anumber or any otherobject.


The followingX3J13 cleanup issues,not part of the specification, apply to this section:


[Starting Points][Contents][Index][Symbols][Glossary][Issues]
Copyright 1996-2005, LispWorks Ltd. All rights reserved.


[8]ページ先頭

©2009-2025 Movatter.jp