TypeFunctionCategoryStringsAcceptsStringReturnsStringAlternativeDescriptionReturns the substring of the text from the start index to the end index.