Search for a string within another string
| 1839 | |
| 1840 | // Search for a string within another string |
| 1841 | FORCE_INLINE |
| 1842 | gdv_int32 locate_utf8_utf8(gdv_int64 context, const char* sub_str, gdv_int32 sub_str_len, |
| 1843 | const char* str, gdv_int32 str_len) { |
| 1844 | return locate_utf8_utf8_int32(context, sub_str, sub_str_len, str, str_len, 1); |
| 1845 | } |
| 1846 | |
| 1847 | // Search for a string within another string starting at position start-pos (1-indexed) |
| 1848 | FORCE_INLINE |