In [6]:

slice(beginIndex[, endIndex])

2025-05-29 14:55

Extracts a section of a string and returns it as a new string.