public interface Prefix
| Modifier and Type | Method and Description |
|---|---|
boolean |
isStarting(String string,
boolean caseSensitive)
Tells whether the prefix is at the start of the given String
|
String |
prepend(String string)
Prepends that prefix to the given String
|
String prepend(String string)
string - the String to prepend the prefix to.boolean isStarting(String string, boolean caseSensitive)
string - checks whether this starts the StringcaseSensitive - whether or not we're case sensitivetrue if the string starts with the given prefix.Copyright © 2018 Atlassian. All rights reserved.