[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- To: KMP at MIT-AI
- Subject: String copying
- From: David L. Andre <DLA at MIT-AI>
- Date: Sat ,9 Jan 82 21:50:00 EDT
- Cc: BUG-LISPM at MIT-AI, DLA at MIT-AI
Date: 9 January 1982 00:19-EST
From: Kent M. Pitman <kmp at MIT-AI>
To: BUG-LISPM at MIT-AI
In System 78.33, ZMail 38.5, ... microcode 836, ... on Lisp Machine Twenty-two:
Is it a feature of STRING-RIGHT-TRIM (and SUBSTRING, for that matter) return
copies of the input string rather than the original in the case where a string
EQUAL to the input is to be generated?
It seems pretty clear in the documentation that this is so.
There should be a COPYSTRING function available for people who need a fresh
copy of the string.
STRING-APPEND is what you want.