def _charlist(self, data) -> list:
<EOL>char_string = """<STR_LIT>"""<EOL>nosub = self.sas.nosub<EOL>self.sas.nosub = False<EOL>ll = self.sas.submit(char_string.format(data.libref, data.table + data._dsopts()))<EOL>self.sas.nosub = nosub<EOL>l2 = ll['<STR_LIT>'].partition("<STR_LIT>")<EOL>l2 = l2[<NUM_LIT:2>].rpartition("<STR_LIT>")<EOL>charlist1 = l2[<NUM_LIT:0>].split("<STR_LIT:\n>")<EOL>del charlist1[len(charlist1) - <NUM_LIT:1>]<EOL>charlist1 = [x.casefold() for x in charlist1]<EOL>return charlist1<EOL>
Private method to return the variables in a SAS Data set that are of type char

:param data: SAS Data object to process
:return: list of character variables
:rtype: list