Strava has an auto-pause option, but I think it does pick up some of the walking, I try to pause it when I stop, but sometimes I can see a knot where I've browsed around a store.
Strava does have a crop function. So if you want to cut something out of the beginning or end of a ride, you can just crop it. I don't think it allows you to cut something out of the middle.