public class StrUtil extends Object
| Constructor and Description |
|---|
StrUtil() |
| Modifier and Type | Method and Description |
|---|---|
static String |
firstCharLowerCase(String s)
Returns the given string starting by an Lower Case
|
static String |
firstCharUpperCase(String s)
Returns the given string starting by an Upper Case
|
static boolean |
nullOrVoid(String s)
Returns true if the given String is null or void ( "", " ", " " )
|
static String |
removeEnd(String str,
String toBeRemoved) |
static String[] |
split(String s,
char c)
Split a string using the given char as separator ( simple split without "reg exp" )
|
public static String[] split(String s, char c)
s - : the string to splitc - : the separatorpublic static boolean nullOrVoid(String s)
s - public static String firstCharLowerCase(String s)
s - Copyright © 2016. All rights reserved.