For each element in `self`, return the highest index in the string where substring `sub` is found, such that `sub` is contained within [`start`, `end`]. See Also -------- char.rfind
(self, sub, start=0, end=None)
| 1011 | return replace(self, old, new, count if count is not None else -1) |
| 1012 | |
| 1013 | def rfind(self, sub, start=0, end=None): |
| 1014 | """ |
| 1015 | For each element in `self`, return the highest index in the string |
| 1016 | where substring `sub` is found, such that `sub` is contained |
| 1017 | within [`start`, `end`]. |
| 1018 | |
| 1019 | See Also |
| 1020 | -------- |
| 1021 | char.rfind |
| 1022 | |
| 1023 | """ |
| 1024 | return rfind(self, sub, start, end) |
| 1025 | |
| 1026 | def rindex(self, sub, start=0, end=None): |
| 1027 | """ |