C++ functions matching the interface and behavior of python string methods with std::string
C++
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore added unittest framework Jun 20, 2011
LICENSE
Makefile added os.path functionality (limited subset) Jun 20, 2011
README Edited README via GitHub Apr 21, 2011
pystring.cpp fix replace on empty strings Oct 16, 2012
pystring.h exposed all os::path posix vs. nt varients Apr 11, 2012
test.cpp fix replace on empty strings Oct 16, 2012
unittest.h added unittest framework Jun 20, 2011

README

Pystring is a collection of C++ functions which match the interface and behavior of python's string class methods using std::string. Implemented in C++, it does not require or make use of a python interpreter. It provides convenience and familiarity for common string operations not included in the standard C++ library. It's also useful in environments where both C++ and python are used.

Overlapping functionality (such as index and slice/substr) of std::string is included to match python interfaces.

Originally developed at Sony Pictures Imageworks.
http://opensource.imageworks.com/

Note: Despite the infrequent updates, this repo is not dead/abandoned - just stable!  We use it every day at Imageworks.