Skip to content

Latest commit

 

History

History
37 lines (22 loc) · 817 Bytes

README.rst

File metadata and controls

37 lines (22 loc) · 817 Bytes

str_util

String functions for Python 3, inspired by similar Lotus Domino @functions

Features

Installation

Install the latest release from PyPI:

pip install str_util

Usage

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"