String Name Occupation Parsing
Write a method name
parseNameOccupation that accepts a single non-
String in the
- "Aisha, a coder!"
- "Felip, a doctor!"
- "Gracie, a dog!"
Specifically, the input
String has the following format: "
You should return a new
String reformatted as follows: "My friend
To complete this problem you will probably want to utilize the