I am having some problems writing a program. The program requires the user to input a first name, middle initial, and last name into a single string. Given this string the program will get the first name, last name, and middle initial and store them in their own variables. How do I go about extracting each substring, I know I would have to look for a space and then take everything before then start from that space and do the same thing over. But how do I do that? Thanks in advance.