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.
9.4m questions
12.2m answers