Answer:
Answer is in the attached screenshot.
Step-by-step explanation:
Using regex to split a given input string via whitespace, then returns the first and last element of the array.
6.3m questions
8.3m answers