public class StrUtil
extends java.lang.Object
| Constructor and Description |
|---|
StrUtil() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
cap(java.lang.String string)
Transforms the first character of the input string to uppercase, leaving the remaining characters as-is.
|
static java.lang.String |
downFirstChar(java.lang.String string)
Transforms the first character of the input string to lowercase, leaving the remaining characters as-is.
|
static boolean |
stringEquals(java.lang.String word1,
java.lang.String word2)
Deprecated.
since 1.2; use
Objects.equals(Object, Object) instead |
public static java.lang.String cap(java.lang.String string)
string - the input string@Deprecated
public static boolean stringEquals(java.lang.String word1,
java.lang.String word2)
Objects.equals(Object, Object) insteadword1 - the first stringword2 - the second stringpublic static java.lang.String downFirstChar(java.lang.String string)
string - the input string