MCPcopy Create free account
hub / github.com/SquirrelJME/SquirrelJME / substring

Method substring

runt/apis/cldc-compact/java/lang/String.java:949–958  ·  view source on GitHub ↗

Returns a substring of this string starting at the given index. @param __s The index to start at. @return The sub-string for that index. @throws IndexOutOfBoundsException If the start is outside of the bounds. @since 2018/11/04

(int __s)

Source from the content-addressed store, hash-verified

947 * @since 2018/11/04
948 */
949 public String substring(int __s)
950 throws IndexOutOfBoundsException
951 {
952 // A substring starting at the zero character is the same
953 if (__s == 0)
954 return this;
955
956 // Call other
957 return this.substring(__s, this.length());
958 }
959
960 /**
961 * Returns a substring of this string.

Callers 15

__mergeIntoMethod · 0.95
acceptMethod · 0.95
__readHeaderMethod · 0.95
isNameCompatibleMethod · 0.95
inferBinaryNameMethod · 0.95
mainMethod · 0.95
__testClassMethod · 0.95
compileMethod · 0.95
__writeRealManifestMethod · 0.95
ofBinaryPathMethod · 0.95
__getoptsMethod · 0.95
mainMethod · 0.95

Calls 3

lengthMethod · 0.95
lengthMethod · 0.95
subSequenceMethod · 0.95

Tested by 5

__testClassMethod · 0.76
runTestMethod · 0.76
__convertToStringMethod · 0.76
__equalsMethod · 0.76
__convertToObjectMethod · 0.36