Search for a string within another string Same as "locate(substr, str)", except for the reverse order of the arguments.
| 1797 | // Search for a string within another string |
| 1798 | // Same as "locate(substr, str)", except for the reverse order of the arguments. |
| 1799 | FORCE_INLINE |
| 1800 | gdv_int32 strpos_utf8_utf8(gdv_int64 context, const char* str, gdv_int32 str_len, |
| 1801 | const char* sub_str, gdv_int32 sub_str_len) { |
| 1802 | return locate_utf8_utf8_int32(context, sub_str, sub_str_len, str, str_len, 1); |
| 1803 | } |
| 1804 | |
| 1805 | // Search for a string within another string |
| 1806 | FORCE_INLINE |