Steven5007

导航

2018年2月12日 #

StringUtils详细介绍

摘要: StringUtils详细介绍 public static void TestStr(){ #null 和 "" 操作~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ //判断是否Null 或者 "" //System.out.println(StringUtils.isEmpty(null)); //System.out.println(St... 阅读全文

posted @ 2018-02-12 18:59 Steven5007 阅读(152) 评论(0) 推荐(0) 编辑

String类的常用方法总结

摘要: 一、String类String类在java.lang包中,java使用String类创建一个字符串变量,字符串变量属于对象。java把String类声明的final类,不能有类。String类对象创建后不能修改,由0或多个字符组成,包含在一对双引号之间。二、String类对象的创建字符串声明:Str 阅读全文

posted @ 2018-02-12 18:50 Steven5007 阅读(233) 评论(0) 推荐(0) 编辑