From: ········@altair.selu.edu
Subject: Strcat in Sun Common Lisp?
Date: 
Message-ID: <1995Nov20.120537.685@altair.selu.edu>
In xlisp I can combine single character strings in the following
manner:

	(strcat "a" "b" "c")

to get "abc"

Is there a like function in Sun Common Lisp?

Thanks,

Tom

From: Michael Tselman
Subject: Re: Strcat in Sun Common Lisp?
Date: 
Message-ID: <48qtcb$629@camelot.ccs.neu.edu>
········@altair.selu.edu wrote:
: In xlisp I can combine single character strings in the following
: manner:

: 	(strcat "a" "b" "c")

: to get "abc"

: Is there a like function in Sun Common Lisp?

: Thanks,

: Tom

The more general function #'concatenate will work:

> (concatenate 'string "a" "b" "c")
"abc"


--Misha


-----------------------------------------------------------------------------+
Michael Tselman (Misha)   Internet: ·····@ccs.neu.edu   | Imagination is     |
College of Computer Science, Northeastern University    |   more important   |
23 Cullinane Hall, 360 Huntington Ave., Boston, MA 02115|     than knowledge!|
Phone: (617)-373-3822,      Fax:  (617)-373-5121        |                    |
WWW: http://www.ccs.neu.edu/home/misha                  | (A. Einstein)      |
-----------------------------------------------------------------------------+
From: Will Fitzgerald
Subject: Re: Strcat in Sun Common Lisp?
Date: 
Message-ID: <w-fitzgerald-2111950840240001@lucky112.acns.nwu.edu>
In article <····················@altair.selu.edu>,
········@altair.selu.edu wrote:

> In xlisp I can combine single character strings in the following
> manner:
> 
>         (strcat "a" "b" "c")
> 
> to get "abc"
> 
> Is there a like function in Sun Common Lisp?
> 
> Thanks,
> 
> Tom

Hi, I wrote you yesterday with the wrong definition of strcat. It should be:

(defun strcat (&rest strings)
  (apply 'concatenate 'string strings))

-- 
Will Fitzgerald
Intell/Agent Systems
············@nwu.edu