FANDOM


$PIECE(string, delimiter, field_index)

Explode string into an array using delimiter, and return the field_indexth element of the array.

$PIECE("ABC,DEF,GHI", ",") -> "ABC"

$PIECE("ABC,DEF,GHI", ",", 2) -> "DEF"

$PIECE("ABC,DEF,GHI", ",", 2, 3) -> "DEF,GHI"

$PIECE("ABC,DEF,GHI", ";") -> "ABC,DEF,GHI"

$PIECE("ABC,DEF,GHI", ",", 5) -> ""

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.