def valid_comma_sep_list_list(self, input_str): parts = [] for part in convert_to_unicode(input_str).split(","): part = part.strip() # do not filter out empty elements parts.append(part.split()) return parts
def ve_string_splitter(self, x): return convert_to_unicode(x).strip().split()
def ve_string_stripper(self, x): return convert_to_unicode(x).strip()
def valid_path_list(self, x): return [y.strip() for y in \ convert_to_unicode(x).split(",") if \ self.valid_path_string(y) and y.strip()]