public class StringUtil extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
static boolean |
isBlank(String str)
判断字符串是否为空
|
static String |
maskReplaceStar(String phone)
手机号中间4位替换为掩码
|
static String |
removeAllBlankAndQuot(String str)
去掉英文单引号以及所有空格
|
static String |
trimAndRemoveQuot(String str)
去掉英文单引号以及首尾空格
|
static String |
unicode2String(String unicode)
unicode 转字符串
|
public static boolean isBlank(String str)
str - 字符串public static String unicode2String(String unicode)
unicode - unicodepublic static String trimAndRemoveQuot(String str)
str - 字符串public static String removeAllBlankAndQuot(String str)
str - 字符串Copyright © 2020–2024 structure. All rights reserved.