336x280(권장), 300x250(권장), 250x250, 200x200 크기의 광고 코드만 넣을 수 있습니다.
출처 : http://aroundck.tistory.com/11
StringBuilder / StringBuffer (보안 높고 속도 조금 느림)
StringBuilder sb = new StringBuilder( "CK " );
sb.append( "lives in " );
sb.append( "Seoul ");
======================
출처 : http://tip.daum.net/openknow/59160290
StringBuffer insert 메소드로 특정 위치에 추가하기
public static void main(String[] args) {
StringBuffer sb = new StringBuffer("abc");
System.out.println(sb);
sb.insert(0, "A");
System.out.println(sb);
sb.insert(2, "B");
System.out.println(sb);
}
출력 결과는 아래와 같습니다.
abc
Aabc
AaBbc
============================
삭제한 문자열 반환
출처 : http://hyeonstorage.tistory.com/179
엄청 자세한 설명들이 있다.
StringBuffer deleteCharAt(int index)
index 위치의 문자 중 삭제한 문자열을 반환 한다.
'Android Studio' 카테고리의 다른 글
(Android Studio) Proguard 사용방법 (0) | 2016.05.02 |
---|---|
(Android Studio) Apk 파일 만드는 방법, 등록하기, 광고넣기(애드몹), 이미지 처리 관련 (0) | 2016.05.02 |
(Android Studio) error:class,interface,or enum expected (0) | 2016.04.29 |
(Android Studio) TextView에 복사/붙여넣기 하기 (0) | 2016.04.29 |
(Android Studio) Double_tap 클래스 만들기 (0) | 2016.04.29 |