study guides for every class

that actually explain what's on your next test

Word.substring

from class:

AP Computer Science A

Definition

The 'substring' method is used to extract a specific portion of a string based on the provided start and end indices. The extracted substring includes all characters from the start index up to, but not including, the end index.

© 2024 Fiveable Inc. All rights reserved.
AP® and SAT® are trademarks registered by the College Board, which is not affiliated with, and does not endorse this website.