Constructs a single string from a number of strings.
lispworks
string-append &rest strings => string
strings⇩ |
Any number of string designators. |
string⇩ |
A string. |
The function string-append
takes any number of string designators and constructs a single string from them.
Each of the elements of strings is first coerced into a string using the string function if it is not already a string.
string is a string of the "widest" type amongst strings. That is, the constructed string is of the same type as the argument with the largest element type.
(readtable-case *readtable*) => :UPCASE (string-append "foo" 'bar) => "fooBAR" (type-of (string-append (coerce "A" 'simple-base-string) (coerce "A" 'simple-text-string) )) => SIMPLE-TEXT-STRING
LispWorks® User Guide and Reference Manual - 01 Dec 2021 19:30:41