Update advstring.cpp