For each element, return the lowest index in the string where substring `sub` is found. See Also -------- char.find
(self, sub, start=0, end=None)
| 2339 | return asarray(expandtabs(self, tabsize)) |
| 2340 | |
| 2341 | def find(self, sub, start=0, end=None): |
| 2342 | """ |
| 2343 | For each element, return the lowest index in the string where |
| 2344 | substring `sub` is found. |
| 2345 | |
| 2346 | See Also |
| 2347 | -------- |
| 2348 | char.find |
| 2349 | |
| 2350 | """ |
| 2351 | return find(self, sub, start, end) |
| 2352 | |
| 2353 | def index(self, sub, start=0, end=None): |
| 2354 | """ |