You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An iterator over substrings of the given string slice, separated by a pattern, restricted to returning at most count items.
The last element returned, if any, will contain the remainder of the string slice.
Is the last element yielded by the iterator the remainder after the N items, or is the remainder included in N? The answer is the latter, but I don't think it's clear. Or am I the problem here?