data_helper.parse module¶
String parse wrapper functions to streamline common use cases
-
data_helper.parse.list_filter(pattern, iter, flags=0)[source]¶ Use regular expression patterns to filter a list of strings
Parameters: Returns: List of matching strings.
Return type:
-
data_helper.parse.str_split_caps(s, trim=True)[source]¶ Split a string on capital letters
Parameters: Returns: List of strings, each starting with a capital letter, in the same order as they appear in the string.
Return type: