how would i be able to parse a string like this:

373 3 3 113 "hello there" "sup all" 4 4

into this:

373
3
3
113
hello there
sup all
4
4