public class StringUtils extends Object
| Constructor and Description |
|---|
StringUtils() |
| Modifier and Type | Method and Description |
|---|---|
static String |
appendIfNotContain(String str,
String appendStr,
String otherwise)
如果给定字符串
str中不包含appendStr,则在str后追加appendStr;
如果已包含appendStr,则在str后追加otherwise |
boolean |
isBlank(String str)
是否为""
|
boolean |
isEmpty(String str)
是否为
null |
Copyright © 2023. All rights reserved.