2009.09.07 12:31 :: 프로그래밍
wstring& replace(wstring& org, const wstring& sFind, const wstring& sReplace)
{
for(wstring::size_type findpos = org.find(sFind);findpos != wstring::npos;findpos = org.find(sFind))
org.replace(findpos, sFind.size(), sReplace);
return org;
}
code by 유리한.
thx
{
for(wstring::size_type findpos = org.find(sFind);findpos != wstring::npos;findpos = org.find(sFind))
org.replace(findpos, sFind.size(), sReplace);
return org;
}
code by 유리한.
thx
'프로그래밍' 카테고리의 다른 글
python list, tuple (0) | 2009.09.18 |
---|---|
python string format (0) | 2009.09.18 |
python string (0) | 2009.09.18 |
python 배우기 (0) | 2009.09.18 |
Singleton 정석 (0) | 2009.09.17 |
std::base_string.replace (0) | 2009.09.07 |
2009.07.15 12:57 :: 갯뻘글
http://gurugyul.tistory.com/60
감사히 잘 먹겠습니다!
감사히 잘 먹겠습니다!
'갯뻘글' 카테고리의 다른 글
'한글'과 '한국어' (0) | 2009.10.07 |
---|---|
사랑받는 프로그래머 10계명 (0) | 2009.09.25 |
회의가 정말 필요할 때는... (0) | 2009.09.21 |
프렌치 프라이 만들기! (0) | 2009.07.15 |
물의 무게 (0) | 2009.07.15 |
사람들은 언제 돈을 쓰는가 (0) | 2009.07.10 |