Update replaceString.cpp