Stringy mucusy stools?

I had extreme bowel discomfort today and strange looking stringy stools. anyone have any idea what this could be? ive never noticed stools like this before although i have struggled with my digestive system acting up on and off. any one had anything like this?

image

image

another pic:

course I’m no doctor but looks like mucus

thanks for the response. what do you think that means

Could be a sign of IBS. Have you seen a doctor?