String (String original)构造//一个字符串
String (char[] value) //使用字符数组构造一个字符串
String (char[] value,int offset,int count) //从字符数组的OFFSET位置开始截取长度为count的字符串
String (byte[]bytes,Charset charset) //使用特定的编码将字节数组构造成一个字符串
public char charAt(int index) //返回指定位置的字符
public int compareTo(String anotherString ) //比较两个字符串的大小
public int compareTolanoreCase(String str) //忽略大小写比较
public String contact(String str) //返回两个字符串的连接
public boolean contains(String s) //字符串中是否包含某个字符 ,字符匹配
public boolean startsSwith(String prefix) //是否以指定字符开头
public bolean endsWith(String s) //是否以s结尾
public byte[] getByte() //将字符串转化为字节数组
public byte[] getBytes(Charset charset) //将字符串按照指定编码转化为字节数组
public byte[] toCharArray() //将字符串转化为字符数组
public int indexOf(String str) //f返回str在字符串中初次出现的位置索引
public int indexOf(String str, int fromindex) //从特定位置查找str在字符串中初次出现的位置索引
public lint lastindexOf(String str) //查找指定字符串最后依次出现的位置索引
public boolean isEmpty() //判断字符串是否为空
public int length() //返回字符串长度
public String replace(char oldChar,char newChar) //使用新的字符串替换旧的字符串 由返回值
Public String[] spilt(String regex) //使用指定的字符拆分字符串并返回一个String 类型能够数组 ,常用正则表达式
public String subString(int beginindex) //截取字符串,从beginindex字符串结尾
public StringToLowerCase() //将字符串转化为小写
public String toUpperCase() //将字符串转化为大写
public String trim() //去除字符串前后空格
public static String valueOf(Object obj) //将对象转化为字符串