Nuacht

Hi, I have a list of structs which each have a variable called state. I want to make a new list that contains only the structs from the first list in a certain state. How do I go about doing this ...