B站462
1.String类的常用方法
.contains
.indexOf
代替 .replace
下面要用到正则表达式
匹配.match
切片split
2.String与其他类型转换
String–>基本数据类型、包装类 包装类.parseXxx(str)
基本数据类型、包装类–>String String.valueOf(xxx)
String–>char[] 调用String的toCharArray()
char[]–>String String构造器
String–>bytes[] 调用String的getBytes()
bytes[]–>String String构造器
近来学习懈怠,一天学不到10集,惭愧