public final class HBStringUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isPresent(String string)
Checks a string to see if it is null or empty.
|
static String |
stripTrailingChar(String input,
char c)
Removes a single character from the end of a string if it matches.
|
public static String stripTrailingChar(String input, char c)
input - String to remove from, if null returns nullc - character to matchpublic static boolean isPresent(String string)
string - String to checkCopyright © 2023 Honeybadger.io. All rights reserved.