How can I split a string by a specific substring?

MineMoreGames <[email protected]> Tue, 23 Apr 2019 22:54:11 +0300
Newsgroups gmane.comp.lang.pike.user
Message-ID <[email protected]>
Let’s say I’ve got something like “!prefix buy 10” and I want to split it by a white space so I will get an array : ({“!prefix”, “buy”, “10”})

How can I achieve this?