-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
Open
Labels
featureIndicates new feature / enhancement requestsIndicates new feature / enhancement requestsiterationInvolves iteration or the iteration protocolInvolves iteration or the iteration protocol
Description
contains, occursin, startswith, endswith all require AbstractString (or similar) arguments. I don't see why they couldn't be generic.
The only problem is that they currently are unclear on whether the first argument is an element or a sequence of elements: does occursin mean "is an element of" or "is a subsequence of"? The docs say it's the latter but occursin('a', "abc") works.
Metadata
Metadata
Assignees
Labels
featureIndicates new feature / enhancement requestsIndicates new feature / enhancement requestsiterationInvolves iteration or the iteration protocolInvolves iteration or the iteration protocol