A sequence of characters contained within a larger string, often identified by its starting and ending positions within the string.
"The substring 'world' was extracted from the string 'Hello, world!'."
— @openai · February 25, 2024