In my application, users have the option to enter numbers into input fields. Whenever a user adds a comma between numbers, I want a new object to be created.
For instance, if a user enters "23, 24, 25" and then hits enter, I aim to extract these three objects (23, 24, 25) and store them in an array.