-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
Closed
Description
Right now we have:
startswith(haystack, needle)endswith(haystack, needle)- and
occursin(needle, haystack)
While occursin(needle, haystack) is right from the perspective of reading
f(a, b) as a f b
i.e. needle occursin haystack
It is not consistent with startwith or endswith.
Back in julia 0.6 (IIRC) we had contains(haystack, needle)
which still reads right: haystack contains needle.
I would like to suggest we bring it back so that we can have that consistency.
This is part of a series of issues relating to invenia/Wrangling.jl#3
Will link others below for cross referencing.
#35032
#35033
nickrobinson251, nicoleepp and AzamatB
Metadata
Metadata
Assignees
Labels
No labels