Yes, you do need to trim green beans - or yellow beans - before cooking. The bean has two ends. One is the end that was attached to the stem. It is woody and tough to chew. Snap that end off and compost it, or use a knife to snip it off.