String类有什么常用方法3?
1、String类方法:isEmpty()检测字符串长度是否为0

1、String类方法:contains(),是否包含指定的字符,字符串

1、String类方法:startsWith(),判断是否以指定字符,字符串开头

1、String类方法:endsWith(),检测是否以指定字符串结尾

1、String类方法:join(),将第二个开始的参数,用第一个参数连接起来

阅读量:176
阅读量:47
阅读量:153
阅读量:185
阅读量:33
1、String类方法:isEmpty()检测字符串长度是否为0

1、String类方法:contains(),是否包含指定的字符,字符串

1、String类方法:startsWith(),判断是否以指定字符,字符串开头

1、String类方法:endsWith(),检测是否以指定字符串结尾

1、String类方法:join(),将第二个开始的参数,用第一个参数连接起来
