public class StrUtil extends Object
| 构造器和说明 |
|---|
StrUtil() |
| 限定符和类型 | 方法和说明 |
|---|---|
static boolean |
hasText(CharSequence str)
判空
|
static boolean |
isBlank(CharSequence str)
判空
|
static String |
replace(String str,
int start)
替换指定位置的字符为*
|
static String |
replace(String str,
int start,
int end)
替换指定位置的字符为*
|
static boolean |
verifyRegular(Pattern pattern,
CharSequence str)
正则验证
|
public static final char SPACE
' 'public static boolean hasText(CharSequence str)
public static boolean isBlank(CharSequence str)
public static boolean verifyRegular(Pattern pattern, CharSequence str)
public static String replace(String str, int start, int end)
Copyright © 2024 tan. All rights reserved.