What's my middle name?
Ohm, 2 bytes (CP437)
Accepts and returns a list of strings.
()
Explanation:
() Main wire, arguments: a
( Remove the first element of a
) ...and then the last element of that
Implicit output
Vim, 6 5 bytes
dW$BD
Try it online!
(outputs with a trailing space)
Since Vim is reverse-compatible with V, I have included a TIO link for V.
Explanation
dW " Delete up to the next word (removes the first name)
$ " Go to the end of the line
B " Go back one word
D " Delete it
Python, 24 bytes
lambda n:n.split()[1:-1]
Try it online string input!
Input Format: string
Python 2, 16 bytes
lambda n:n[1:-1]
Try it online list input!
Input Format: List