Edit It: Split the given string at whitespaces and limit the returned array to two items
This code shows how to split a string at whitespaces and limit the returned array to two items.
See it on StackBlitzThis code shows how to split a string at whitespaces and limit the returned array to two items.
See it on StackBlitz