Join & Split (Expression) — Skript
Addon: Skript · Category: Expression · Since: 2.1, 2.5.2 (regex support), 2.7 (case sensitivity), 2.10 (without trailing string)
Syntax
(concat[enate]|join) %strings% [(with|using|by) [[the] delimiter] %-string%]Description
Joins several texts with a common delimiter (e.g. ", "), or splits a text into multiple texts at a given delimiter.
Examples
message "Online players: %join all players' names with "" | ""%" # %all players% would use the default "x, y, and z"
set {_s::*} to the string argument split at ","