Assuming the list of two words are in column A.
Copy column A into column B and column C.
Do a find & replace on column B, finding *space replacing with nothing.
Find & replace on column C, finding space*, replacing with nothing
Does that make sense?