Nerites do not have siphons like apple snails do, so that will not be what's in the pic. If it isn't a long string of snail poop or some other item that was somehow caught, keep an eye out for the same thing again. Although fairly rare, there are some worms that will take up residence in a snail's mantle cavity and dangle out periodically.