Skip to content

CHARINDEX

CHARINDEX(str1, str2[, start_position])

Equivalent to POSITION(str1, str2) when 2 arguments are provided. When the optional third argument is provided, it only starts searching at that index.

Note

Not currently supported on binary data.