String 객체의 기본 메소드


String 객체의 기본 메소드


Method리턴 값설명
length()int문자열의 길이를 리턴
charAt(int index)char 지정한 인덱스에 위치한 문자를 리턴(0에서 시작)
indexOf(String str) int str이 포함된 첫 번째 인덱스를 구한다. 없으면 -1
indexOf(String str, int fromindex) int fromindex이후에 str이 포함되어 있는 첫번째 인덱스를 구한다.
indexOf(char ch)int문자 ch의 첫번째 인덱스를 구한다.
indexOf(char ch, int fromindex)int fromindex이후 문자 ch 의 첫번째 인덱스를 구한다.
substring(int i) String인덱스 i 부터 나머지 문자열을 구한다.
substring(int i, int j) String i 부터 j-1 까지의 문자열을 구한다.
equals(String str)boolean현재 문자열이 str과 같은 경우 true를 리턴한다.
compareTo(String str)int문자가 같은경우 0, 앞/뒤에 따라 양수/음수 리턴
크리에이티브 커먼즈 라이센스
Creative Commons License

Posted by gwlee

2009/03/23 13:01 2009/03/23 13:01
, ,
Response
1 Trackbacks , 0 Comments
RSS :
http://thegreatgoodplace.com/tt/study/rss/response/93

Trackback URL : http://thegreatgoodplace.com/tt/study/trackback/93

Trackbacks List

  1. Mg buy phentermine.

    Tracked from Phentermine for sale. 2010/03/10 11:06 Delete

    Phentermine without a prescription. Phentermine. Online phentermine. Effects phentermine. Buy phentermine cod. Mg buy phentermine.

Leave a comment

JAVA API Flow


필요할듯 해서.. ㅠㅠ

사용자 삽입 이미지

크리에이티브 커먼즈 라이센스
Creative Commons License

Posted by gwlee

2009/01/22 13:31 2009/01/22 13:31
,
Response
0 Trackbacks , 0 Comments
RSS :
http://thegreatgoodplace.com/tt/study/rss/response/66

Trackback URL : http://thegreatgoodplace.com/tt/study/trackback/66

Leave a comment

자바에서 엑셀작업



jetzt님의 블로그

sirius2k님의 블로그



자바로 엑셀을 핸들링 할 수 있는 방법은 크게 두가지로 나누어 진다.

1. Java Excel API
    http://www.andykhan.com/jexcelapi/
2. POI
    http://jakarta.apache.org/poi/index.html



새로이 Excel파일을 만드는 방법은 기본적으로 다음과 같다.

1. WorkBook를 만든다 (즉, 파일이 될 부분을 만든다)
2. WorkBook안에 sheet를 만든다
3. sheet안에 행을 만든다
4. 행 안에 기본단위인 셀을 만든다

ps. 물론 본인은 Java를 안건들기에 될련지는 몰르겠습니다.  후훗.. ㅡ.ㅡv


크리에이티브 커먼즈 라이센스
Creative Commons License

Posted by gwlee

2008/08/25 01:34 2008/08/25 01:34
,
Response
0 Trackbacks , 0 Comments
RSS :
http://thegreatgoodplace.com/tt/study/rss/response/20

Trackback URL : http://thegreatgoodplace.com/tt/study/trackback/20

Leave a comment

블로그 이미지

gwLee's Study story

- gwlee



Site Stats

Total hits:
50083
Today:
7
Yesterday:
83