Checks if a string starts with the specified character. @param string string @param ch character to be found @return result of check
(final String string, final char ch)
| 279 | * @return result of check |
| 280 | */ |
| 281 | public static boolean startsWith(final String string, final char ch) { |
| 282 | return string.indexOf(ch) == 0; |
| 283 | } |
| 284 | |
| 285 | /** |
| 286 | * Checks if a string ends with the specified character. |