Add toUpper and toLower functions for String