Split a string or bytes by separator returning a generator.
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.
The next subset extracted from the input until the next separator.