Slicing

Slicing is basically getting a substring from a string. It is similar to indexing, except that it usually contains multiple characters. Like most other operations a functions, it is zero-indexed.

Examples
returns

If the first argument is omitted, the slicing starts at the start of the string. If the last argument is omitted, the slicing ends at the end of the string.

returns

returns

returns  (The string itself.)