public class StringUtils extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static boolean |
endsWithIgnoreCase(java.lang.String base,
java.lang.String end)
Helper functions to query a strings end portion.
|
static java.lang.String |
getLineSeparator()
Queries the system properties for the line separator.
|
static boolean |
startsWithIgnoreCase(java.lang.String base,
java.lang.String start)
Helper functions to query a strings start portion.
|
public static boolean startsWithIgnoreCase(java.lang.String base, java.lang.String start)
base
- the base string.start
- the starting text.public static boolean endsWithIgnoreCase(java.lang.String base, java.lang.String end)
base
- the base string.end
- the ending text.public static java.lang.String getLineSeparator()