Please enable JavaScript to use CodeHS

CodeHS Glossary


String substring(int from, int to) Java

Returns the substring beginning at index from and ending at index to − 1