- 코드 정리

This commit is contained in:
2017-02-01 09:56:55 +09:00
parent 60a017015f
commit 77c0056a33
3 changed files with 15 additions and 16 deletions

View File

@@ -80,7 +80,7 @@ namespace NewsCrawler
Create();
string strMessage = string.Format("{0}, {1}, {2}, {3}, {4}, {5}, {6}, {7:n0}, {8:n0}, {9:n2}, {10:n0}, {11:n2}, {12}",
m_strToday, strNewsTime, strResTime, fReqTime, strRef, strTitle, strCodeName,
m_strToday, strNewsTime, strResTime, fReqTime, strRef, strTitle.Replace(",", "\\,"), strCodeName,
iPriceS, iPriceLow, fPriceLowP, iPriceHigh, fPriceHighP, strLink);
File.AppendAllText(m_strFileName, strMessage+Environment.NewLine, new UTF8Encoding(true));