Use sp_drv_varbinary_charindex which accesses the Transact-SQL function charindex.
byte_sequence – the byte sequence, of type varbinary, to search for.
locator – an image_locator that references the image column to search from.
start – an integer specifying the position from which to begin searching. The first position is 1.