If you buy stringless snap peas at the grocery, you don't need to trim them. If you buy snap peas that have not been trimmed and still have their strings, you should do this before you cook them.