Added string manipulation functions.