| 69 | } |
| 70 | |
| 71 | const char *utf8_pbrk(const char *s, const char *set) { |
| 72 | for (; *s != 0; s = utf8_inc(s)) |
| 73 | for (auto x = set; *x != 0; x = utf8_inc(x)) |
| 74 | if (utf8_first_chars_equal(s, x)) |
| 75 | return s; |
| 76 | return nullptr; |
| 77 | } |
| 78 | |
| 79 | char *utf8_chr(const char *s, const char *sfc) // Char is first from the string |
| 80 | // sfc (string with first char) |
nothing calls this directly
no test coverage detected