Move string functions to separate file.

3 files changed