Compares the specified string to this string to determine if the specified string is a prefix. @param prefix the string to look for. @return true if the specified string is a prefix of this string, false otherwise @throws NullPointerException if {@code
(String prefix)
| 1368 | * if {@code prefix} is {@code null}. |
| 1369 | */ |
| 1370 | public boolean startsWith(String prefix) { |
| 1371 | return startsWith(prefix, 0); |
| 1372 | } |
| 1373 | |
| 1374 | /** |
| 1375 | * Compares the specified string to this string, starting at the specified |
no test coverage detected