Added string utility functions.