I need a formula.

A1 1,2,3
A2 4:00


B1 4:00

I need B1 to display A2 if A1 contains 1.