Package ai.nexconn.chatui.utils.text
Class StringUtils
-
- All Implemented Interfaces:
public class StringUtilsString utility class.
-
-
Constructor Summary
Constructors Constructor Description StringUtils()
-
Method Summary
-
-
Method Detail
-
getStringNoBlank
static String getStringNoBlank(String str)
-
getFirstChar
static char getFirstChar(char c)
Gets the Pinyin initial of a character. Returns the uppercase Pinyin initial for Chinese characters, or the uppercase form of the character itself otherwise.
- Parameters:
c- the character- Returns:
the uppercase Pinyin initial or the uppercase character
-
-
-
-