(self, row, border)
return row.split('|')
split a row of text into list of cells.
split a row of text into list of cells.
split a row of text into list of cells .
def _split_row(self, row, border):
        """ split a row of text into list of cells. """
        if border:
            if row.startswith('|'):
                row = row[1:]
            if row.endswith('|'):
                row = row[:-1]
        return row.split('|')
def _split_row ( self , row , border ) : if border : if row . startswith ( '|' ) : row = row [ 1 : ] if row . endswith ( '|' ) : row = row [ : - 1 ] return row . split ( '|' )