View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Gabe Tiger Gabe Tiger is offline
external usenet poster
 
Posts: 2
Default How do I extract a word from a string?

EG.

I want to only get the first name of the following full names that are
given in column A:

John M. Ford
Albert Cushy
Bertland Sunderland
Hugo Sanchez d'Angelo


My idea is to find how many spaces there is until the first " "
character and then use the mid function until this character (" ") to
create a new string with only the first name in it.

Anyone know how create a synthax like this?

Gabe.