public class Strings2 extends Object
| Constructor and Description |
|---|
Strings2() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
beginWith(String str,
String prefix) |
static String |
substringAfterFirst(String str,
char searchFor) |
static String |
substringBeforeFirst(String str,
char searchFor) |
@Nullable public static String substringBeforeFirst(@Nullable String str, char searchFor)
str - searchFor - null if given str is null. return full String if searchFor is not found@Nullable public static String substringAfterFirst(@Nullable String str, char searchFor)
str - searchFor - null if given str is null or if searchFor is not foundCopyright © 2013. All Rights Reserved.