substring method

search method

  1. Find the location of the comma to identify the last name.
  2. Use substring to extract the last name once you have the location of the comma
  3. Find the first blank space to identify the beginning of the first name.
  4. Extract the first name and the middle name together to save in a new variable.
  5. Use the new variable to identify another space location in order to get first name