for (int i = 0; i < str.Length - strFind.Length;)
{
if (string.Compare(str, i, strFind, 0, strFind.Length, true) == 0)
{
str = str.Remove(i, strFind.Length);
str = str.Insert(i, strReplace);
i += strReplace.Length;
}
else
{
i += 1;
}
}
안에다가 증가식을 써주는 펫졸드형!
좆잡고 반성해봅니다.
맨날 for문 돌릴때 (int i=0; i < Length; i++)
밖에 모르던 바보가.. 뭔가 하나를 알았다.
다독이다에요? 다작이다에요? 다상량이다에요? 세브는 상냥하다에요? - DCW
fsm언니 세브에게 FALL IN LOVE? - DCW
다독, 다작, 다상량 꾸준히 하기 어렵지만 꾸준히 하면 좋은것.
http://dblack.tk
커뮤니티 사이트 입니다 많은 이용 부탁 드립니다.