Seam sealer or carpet glue ?

I am cleaning out the interior of the '75 to paint and there is this thick rope of sealer on the corner of the floor/rocker panel and other places. It comes off with a flat edged tool quite easily.

Is this seem seler or carpet glue ? Should I replace it or can just leave it be..it almost looks like a water trap to me. Whom ever was doing it, wasn't taking a lot of care.


Thanks
Ian.