判断某个字符传中是否包含另一个字符!


boolean str = aaa.contains("b");
//返回布尔类型

猜你喜欢

转载自a754782339.iteye.com/blog/2250976