public class CharUtil extends Object
Constructor and Description |
---|
CharUtil() |
Modifier and Type | Method and Description |
---|---|
static String |
getRandomNum(Integer num)
获取随机字符串
|
static String |
getRandomString(Integer num)
获取随机字符串
|
static String |
padLeft(String oriStr,
int len,
char fillChar)
左补位,右对齐
|
static String |
padRight(String oriStr,
int len,
char fillChar)
右补位,左对齐
|
Copyright © 2021. All rights reserved.