'split a row of text into list of cells.'

def _split_row(self, row, border):

    if border:
        if row.startswith(u'|'):
            row = row[1:]
        if row.endswith(u'|'):
            row = row[:(-1)]
    return self._split(row, u'|')
