lst_auto_rta.utils.string.substrings_in_string¶
- lst_auto_rta.utils.string.substrings_in_string(string: str, substrings: List[str]) bool [source]¶
Check if substrings appear in order in string (can be arbitrary content between substrings)
- Parameters:
string (str) – String to check
substrings (List[str]) – List of substrings to search in string
- Returns:
True if all sub-strings appear in order in string
- Return type:
bool