Headliner trim

I put a new Headliner in my car, (69 Dart ) I need to trim the excess material at the front and back windows. But I’m not sure if it goes into the window channel And wraps in with the glass channel or where does it stop ? I’d like to trim it because of the headliner is done. But I don’t wanna cut it too short.