@classmethod
    def _adder(cls, first, second):

        raw_string = first._raw_string + second._raw_string
        clean_string = first._clean_string + second._clean_string
        code_indexes = first._code_indexes[:]
        char_indexes = first._char_indexes[:]
        code_indexes.extend(
            cls._shifter(second._code_indexes, len(first._raw_string)))
        char_indexes.extend(
            cls._shifter(second._char_indexes, len(first._raw_string)))
        return ANSIString(raw_string, code_indexes=code_indexes,
                          char_indexes=char_indexes,
                          clean_string=clean_string)
Joins two ANSIStrings, preserving calculated info.
dataset/ETHPy150Open evennia/evennia/evennia/utils/ansi.py/ANSIString._adder