Fix existing string functions, implement a bunch of new ones.

3 files changed