MCPcopy Create free account
hub / github.com/apache/ant / removePrefix

Method removePrefix

src/main/org/apache/tools/ant/util/StringUtils.java:270–275  ·  view source on GitHub ↗

Removes the prefix from a given string, if the string contains that prefix. @param string String for check @param prefix Prefix to remove @return the string with the prefix

(String string, String prefix)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

testRemovePrefixMethod · 0.95

Calls 2

substringMethod · 0.80
lengthMethod · 0.45

Tested by 1

testRemovePrefixMethod · 0.76