modify ReplaceSubStrings.cs