For the given 's' and its substring 'subs' returns new substring of 's' that begins past 'subs'.
| 41 | // For the given 's' and its substring 'subs' returns new substring of 's' that |
| 42 | // begins past 'subs'. |
| 43 | absl::string_view PastSubstr(absl::string_view s, absl::string_view subs) { |
| 44 | return s.substr(subs.data() + subs.size() - s.data()); |
| 45 | } |
| 46 | |
| 47 | } // namespace |
| 48 |