public class StringUtils extends Object
| Constructor and Description |
|---|
StringUtils() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isEmpty(String s)
Check to see if a string is null or empty.
|
static String |
join(String[] args,
String delimiter)
This will concatenate all of the strings in the array using the given delimiter (if it is not null) as a
separator for each item.
|
public static boolean isEmpty(String s)
s - the string to checkpublic static String join(String[] args, String delimiter)
args - the strings to concatenatedelimiter - the separator between strings joined - can be null (no delimiter used)Copyright © 2021. All rights reserved.