Remove all words after first space from each line

My file looks like:

asd absjdd
   

sdff vczxs
wedssx  c

dasx ccc

I need to keep

asd
sdff
wedssx
dasx

How do I do that experts?:wall::wall:

There are many ways:

awk '{print $1; }'

or

cut -d' ' -f1

or

sed -e 's/ .*$//'