Modernized stringtools docstrings.