modify the string class