Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | ||||
4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 | 26 | 27 | 28 | 29 | 30 | 31 |
Tags
- xargs
- 단축키
- 줄바꿈 문자
- Eclipse
- find
- lsof
- bash
- vscode
- web.xml
- JavaScript
- 네트워크
- Quartz
- netsh
- resource
- import
- ssh
- VirtualBox
- Windows 10
- port
- Source
- tomcat
- Mac
- grep
- context
- Windows
- GIT
- profile
- plugin
- IntelliJ
- maVen
Archives
- Today
- Total
develog
StringBuilder, replace 본문
private void replace(StringBuilder sb, String strFrom, String strTo) {
if (sb == null) return;
if (strFrom == null) return;
if (strTo == null) return;
while (sb.indexOf(strFrom) > -1) {
int idxStart = sb.indexOf(strFrom);
sb.replace(idxStart, idxStart + strFrom.length(), strTo);
}
}
'Dev > Java' 카테고리의 다른 글
template, callback (0) | 2013.07.17 |
---|---|
AsyncHttpClient (0) | 2013.07.11 |
spring-test-dbunit (0) | 2013.07.09 |
dbunit jar download (0) | 2013.07.09 |
Async (0) | 2013.07.09 |
Comments