Write a script to extract first name, middle name and last name from entered name.
Answers
Answered by
2
Please review and help me optimise it
My function takes a string of name and returns First name , Middle name as output.
Hope it will help you!
Attachments:
![](https://hi-static.z-dn.net/files/d43/1364545534afc34d5f4fdb5ff8f0b3d6.jpg)
![](https://hi-static.z-dn.net/files/d1f/72214d27ed4a7f273415325befb5c05b.jpg)
Similar questions