Drop unused string functions

They're a bit obscure anyway. This is a port of
https://github.com/tangentlabs/django-oscar/commit/8573052b89988ecd7d68f5e0207d37934be91847