what is a quick way to delete all elements from a list that do not satisfy a constraint?
<p>I have a list of strings. I have a function that given a string returns 0 or 1. How can I delete all strings in the list for which the function returns 0?</p>
