I am trying to cut a part of a shape that is outside another one using illustrator.
I've found this answer for Inkscape and I tried to reproduce it with Illustrator but I did not success.
I'd like to remove the part of the green shape that is outside the other one. When I try to use Pathfinder -> subtract it creates a hole in it.
I found if I use Pathfinder -> substract (front - back) Illustrator is keeping only the part I want to delete. I could copy paste that part onto my original shape and paint it the same color as the background but I don't like this solution...
P.S. What is the name of the operation I'm trying to do ? I have little to no knowledge about Illustrator and Graphic Design in general so I have trouble googling stuff