Python package for working with substrings.
Make sure to have the latest version of Python 3 installed although this should work with previous versions.
To install the package with pip enter command in terminal:
pip install substr
To uninstall the package with pip enter command in terminal:
pip uninstall substr
Method | Description |
---|---|
get_substring(string)
|
Get all substrings from string argument. |
get_matching_substring(string, compare_values)
|
Find substrings in argument string containing all characters in argument list. |
get_small_matching_substring(string, compare_values)
|
Find smallest substring in argument string containing all characters in argument list. |