I have a list that has names and I want to get the list element which has some part of my string
for example:
names = ["David Benj Jacob", "Alex"]
so if I search with "David Jacob" then how can I get the first element of the list "David Benj Jacob"?
I tried if "David Jacob" in names