| 575 | } |
| 576 | |
| 577 | size_t String::findFirstNotOf(String const& pattern, size_t beg) const { |
| 578 | auto it = begin(); |
| 579 | size_t i; |
| 580 | for (i = 0; i < beg; ++i) |
| 581 | ++it; |
| 582 | |
| 583 | while (it != end()) { |
| 584 | if (!pattern.hasCharOrWhitespace(*it)) |
| 585 | return i; |
| 586 | ++it; |
| 587 | ++i; |
| 588 | } |
| 589 | return NPos; |
| 590 | } |
| 591 | |
| 592 | size_t String::findNextBoundary(size_t index, bool backwards) const { |
| 593 | starAssert(index <= size()); |
nothing calls this directly
no test coverage detected