Merge pull request #7057 from leoetlino/string Config/StringUtil/IniFile: Get rid of some duplicated code