Capgemini interview question

Nitesh Kumar Sharma Extract only middle name from the string