Loading section...
String Slicing
Concepts: pySlicing
Slicing extracts a portion of a string using the syntax [start:end]. The slice includes the start index but excludes the end index. Slice Defaults Negative Slice Indices Negative indices work in slices too, making it easy to extract from the end: Slice Step A third parameter specifies the step (how many characters to skip):