Create a function that take a full name as a parameter and returns just the middle name regardless of how many words it consists of.

Create a function that take a full name as a parameter and returns just the middle name regardless of how many words it consists of.

You should take your input and make it a list [] then you can split the list by the space and grab your middle name. Try posting some code so we can see what you are doing.

Thread closed, please follow discussion here

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.