What do i do if i have white string in my feces?

It can be undigested material or a sign of threadworms. You should definitely see a gastroentenologist. He/she will most likely suggest stool testing. (This is not something you should ignore.)