Class StringUtil
Helper class for work with strings
Inherited Members
Namespace:
Assembly: .dll
Syntax
public class StringUtil
Constructors
StringUtil()
Declaration
public StringUtil()
Fields
EMPTY
Declaration
public static final String EMPTY
Field Value
| Type | Description |
|---|---|
| String |
NEW_LINE
Declaration
public static final String NEW_LINE
Field Value
| Type | Description |
|---|---|
| String |
Methods
isNullOrEmpty(CharSequence charSequence)
Checks whether char sequence is null or empty
Declaration
public static boolean isNullOrEmpty(CharSequence charSequence)
Parameters
| Type | Name | Description |
|---|---|---|
| CharSequence | charSequence | The char sequence to check |
Returns
| Type | Description |
|---|---|
| boolean | True if char sequence is null or empty |
isNullOrEmpty(String string)
Checks whether string is null or empty
Declaration
public static boolean isNullOrEmpty(String string)
Parameters
| Type | Name | Description |
|---|---|---|
| String | string | The string to checs |
Returns
| Type | Description |
|---|---|
| boolean | True if string is null or empty |