I believe the "string" you are referring to is a sort of web that the worm excretes, captures food in it, then pulls it back in to consume the catch.
I have these all over my tank including on my frogspawn and I don't give them a second thought.
-Eric