[SR-1504] RFE: index(of:) but starting from end #44113
Labels
feature
A feature request or implementation
good first issue
Good for newcomers
standard library
Area: Standard library umbrella
swift evolution implemented
Flag → feature: A feature that was approved through the Swift evolution process and implemented
Additional Detail from JIRA
md5: 2e4233e0695a5d1edce92ed2ae1572d9
Issue Description:
It is sometimes desirable to get the forward index of an element but searching from the end of a bidirectionally iterable collection. For example, consider finding the string suffix following the last period.
This is similar to C++'s `find_last_of` or Python's `rindex`.
The text was updated successfully, but these errors were encountered: