Returns a substring of the specified token. Note that this method ignores Unicode codepoints; use #subtoken instead. @param token input token @param start start position @return substring
(final byte[] token, final int start)
| 981 | * @return substring |
| 982 | */ |
| 983 | public static byte[] substring(final byte[] token, final int start) { |
| 984 | return substring(token, start, token.length); |
| 985 | } |
| 986 | |
| 987 | /** |
| 988 | * Returns a substring of the specified token. |