Elementium Sign in

Split into words

Split a line into a list of its words, ready for a For each loop.

Try it on your server

A Minecraft element (a value) in Commands. Needs the Basic plan or higher to go live; building and testing are free.

Example

When a player uses /tags → Split the line into words → For each word, add a tag.

Also called

split, words list, tokens, arguments list, explode

Works as a data pack?

No. This one needs the Elementium plugin on a Paper server.

What you give it

What it gives back

Related

All Minecraft elements