Please help me on the following scenario:

I have column A which always contains character "-". I would like to be able to just get the characters before the "-" and be able to copy that on col B.

example:

A1= "1234f - bla bla bla2"
A2= "H3B - bla bla bla3"

I would like to get only 1234f an copy it to B1 and so on. Please help. Thank you.