<span style="color:#8a837e;font-family:'나눔고딕', NanumGothic, 'AppleSDGothicNeo-Regular', sans-serif, simhei;font-size:16px;line-height:27.2px;">Csv 파일을 string.split(','); 을 사용하여 데이터 를 읽을 때<br></span><span style="color:#8a837e;font-family:'나눔고딕', NanumGothic, 'AppleSDGothicNeo-Regular', sans-serif, simhei;font-size:16px;line-height:27.2px;"><br></span><span style="color:#8a837e;font-family:'나눔고딕', NanumGothic, 'AppleSDGothicNeo-Regular', sans-serif, simhei;font-size:16px;line-height:27.2px;">실제 문자열의 데이터 크기와 차이가 난다.(2바이트)<br></span><span style="color:#8a837e;font-family:'나눔고딕', NanumGothic, 'AppleSDGothicNeo-Regular', sans-serif, simhei;font-size:16px;line-height:27.2px;"><br></span><span style="color:#8a837e;font-family:'나눔고딕', NanumGothic, 'AppleSDGothicNeo-Regular', sans-serif, simhei;font-size:16px;line-height:27.2px;">그 이유는 문자열에 \r\n이 포함되어 있기 때문이다. 따라서<br></span><span style="color:#8a837e;font-family:'나눔고딕', NanumGothic, 'AppleSDGothicNeo-Regular', sans-serif, simhei;font-size:16px;line-height:27.2px;"><br></span><span style="color:#8a837e;font-family:'나눔고딕', NanumGothic, 'AppleSDGothicNeo-Regular', sans-serif, simhei;font-size:16px;line-height:27.2px;">strData2 = strData2.Replace("\r\n", ""); 을 하면 똑같은 문자열 크기를 얻을 수 있다.</span> <div><font color="#8a837e" face="나눔고딕, NanumGothic, AppleSDGothicNeo-Regular, sans-serif, simhei"><span style="font-size:16px;line-height:27.2px;"><br></span></font></div> <div><font color="#8a837e" face="나눔고딕, NanumGothic, AppleSDGothicNeo-Regular, sans-serif, simhei"><span style="font-size:16px;line-height:27.2px;">before)<br></span></font> <div><span style="color:#8a837e;font-family:'나눔고딕', NanumGothic, 'AppleSDGothicNeo-Regular', sans-serif, simhei;font-size:16px;line-height:27.2px;"><br></span></div> <div><span style="color:#8a837e;font-family:'나눔고딕', NanumGothic, 'AppleSDGothicNeo-Regular', sans-serif, simhei;font-size:16px;line-height:27.2px;"></span><div style="text-align:left;"><img src="http://thimg.todayhumor.co.kr/upfile/201605/146416572981872f9f536341c5a1e3d185ebedff7c__mn490522__w1419__h709__f94091__Ym201605.png" width="800" height="400" alt="1.PNG" class="chimg_photo" style="border:none;" filesize="94091"></div> <div style="text-align:left;"><br></div> <div style="text-align:left;">after)</div> <div style="text-align:left;"><img src="http://thimg.todayhumor.co.kr/upfile/201605/146416573021f061b3aa3848e9b68ad720838d98db__mn490522__w1417__h717__f92422__Ym201605.png" width="800" height="405" alt="2.PNG" class="chimg_photo" style="border:none;" filesize="92422"></div><br></div></div>
댓글 분란 또는 분쟁 때문에 전체 댓글이 블라인드 처리되었습니다.