Skip to content

POSITION

POSITION(str1, str2)

Returns the 1-indexed location where str1 first occurs in str2, or 0 if there is no occurrences of str1 in str2.

Note

BodoSQL oes not currently support alternate syntax POSITION(str1, str2), or binary data.