[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

String copying



    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.