삶은 감자
String type = name.substring(name.lastIndexOf(".")+1);
"."
name="hello.jpg"
type="jpg"
* 단축키는 한글/영문 대소문자로 이용 가능하며, 티스토리 기본 도메인에서만 동작합니다.