MCPcopy Create free account
hub / github.com/BaseXdb/basex / substring

Method substring

basex-core/src/main/java/org/basex/util/Token.java:983–985  ·  view source on GitHub ↗

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)

Source from the content-addressed store, hash-verified

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.

Callers 15

tokenMethod · 0.95
bracedMethod · 0.95
nextMethod · 0.95
itemMethod · 0.95
DtmMethod · 0.95
InfoViewMethod · 0.95
tokenMethod · 0.95
chopNumberMethod · 0.95
prefixMethod · 0.95
localMethod · 0.95
idAndIdsMethod · 0.45
dbpathMethod · 0.45

Calls 2

maxMethod · 0.45
minMethod · 0.45

Tested by 3

idAndIdsMethod · 0.36
W3CTSMethod · 0.36
parseMethod · 0.36