Split a string or bytes by separator returning a generator.
str
bytes
The string to split into substrings.
The separator to use to split the string. Must be the same type as string. Must always be given.
string
The next subset extracted from the input until the next separator.
isplit()