StringUtils::StartsWith instead of "strLine.Left(x) ==" and strLine.Mid(x) instead of "strLine.c_str() + x"