public final class StringUtils extends Object
Modifier and Type | Method and Description |
---|---|
static String |
matchToClosingParenthesis(String string,
String start) |
@Nonnull public static String matchToClosingParenthesis(@Nonnull String string, @Nonnull String start)
string
- The string to search in.start
- A string from which to start searching.IndexOutOfBoundsException
- If string
does not contain start
or parenthesis could not be matched .