try formula:

=LEFT(A2,FIND(" ,",A2)-1)

where A2 has first string.