code: def _find_channels(note):
      
      id_ch = note.index('ChanNames')
      chan_beg = note.index('(', id_ch)
      chan_end = note.index(')', chan_beg)
      note_with_chan = note[chan_beg + 1:chan_end]
      return [x.strip('" ') for x in note_with_chan.split(',')]
docs: Find the channel names within a string.
  
      The channel names are stored in the .ent file. We can read the file with
      _read_ent and we can parse most of the notes (comments) with _read_notes
      however the note containing the montage cannot be read because it's too
      complex. So, instead of parsing it, we just pass the string of the note
      around. This function takes the string and finds where the channel
      definition is.
  
      Parameters
      ----------
      note : str
          string read from .ent file, it's the note which contains montage.
  
      Returns
      -------
      chan_name : list of str
          the names of the channels.