Java -Stream und Filter
items.stream()
.filter(s->s.contains("B"))
.forEach(System.out::println);
Good Goosander
items.stream()
.filter(s->s.contains("B"))
.forEach(System.out::println);