def breakat(self, where):
        #FORMAT, TEXT, FORMAT, TEXT, FORMAT, TEXT
        #--before----, segF,   seg,  ----after--
        #
        # to
        #
        #FORMAT, TEXT, FORMAT, TEXTBEFORE, FORMAT, TEXTAFTER, FORMAT, TEXT
        #--before----, segF,   [before],   segF,   [after],   -----after--
        #----index---------------/
        (index, splitPoint) = self.findSegmentPlace(where)
        textSegment = self.segments[index]
        beforeText = textSegment[:splitPoint]
        afterText = textSegment[splitPoint:]
        beforeSegments = self.segments[:index]
        afterSegments = self.segments[index + 1:]

        formattingForSegment = self.segments[index - 1]

        beforeFormattedText = FormattedText()
        afterFormattedText = FormattedText()
        beforeFormattedText.segments = (beforeSegments + [beforeText])
        afterFormattedText.segments = ([formattingForSegment]
                                       + [afterText] + afterSegments)
        beforeFormattedText.plainText = self.plainText[:where]
        afterFormattedText.plainText = self.plainText[where:]

        return (beforeFormattedText, afterFormattedText)
Break the formatted text at the point given and return
dataset/ETHPy150Open facebook/PathPicker/src/formattedText.py/FormattedText.breakat