String functions for Python 3
String functions for Python 3, inspired by similar Lotus Domino @functions
- Powerful functions to work with both strings and list of strings
- Fully documented: https://stringfunctions.readthedocs.io
- 98% coverage
- MIT License, source code: https://github.com/majkilde/stringfunctions
Install the latest release from PyPI:
pip install str_util
All functions are available directly off the
str_util package. You may choose to import individual functions by name, or import all.
from str_util import word, is_string def foo(value): if is_string( value ): return word(value,1) return "not a string"
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.