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