일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- 회계
- error
- Excel
- 함수
- 오류
- JEUS
- 이클립스
- 에러
- 엑셀
- 튜닝
- 톰캣
- 자바
- Report Designer
- java
- Book
- 마이플랫폼
- 기타소득
- MIP
- 성능
- DB
- Tomcat
- miplatform
- 도서
- 오라클
- 데이터베이스
- 태그를 입력해 주세요.
- JavaScript
- oracle
- 한글
- Eclipse
Archives
- Today
- Total
목록java (21)
어느 가을날의 전환점
JAVA|Function - LPad() : 문자열 좌측에 자릿수 채우기
/** * lpad 함수 * * @param str 대상문자열, len 길이, addStr 대체문자 * @return 문자열 */ public static String lpad(String str, int len, String addStr) { String result = str; int templen = len - result.length(); for (int i = 0; i < templen; i++){ result = addStr + result; } return result; }
Development
2009. 12. 29. 10:44