Modify string.cpp