Use filter() to test strings