boolean contains(String str)
判断大字符串中是否包含小字符串
boolean endsWith(String str)
判断字符串是否以某个指定的字符串结尾
boolean isEmpty()
判断字符串是否为空
boolean startsWith(String str)
判断字符串是否以某个指定的字符串开头
String类
原文:http://www.cnblogs.com/denggelin/p/6267901.html