%stringExplode()

Aliases%stringExplode()
Parametersstring @text, string @separator

    This function will split apart @text whenever @separator is encountered. 
The results are returned as an array of text pieces.

Example:

%printValue( %stringExplode( "1-2-3-4-5-6", "-" ), @self )

Output:

[] => (array)
(
[1] => (string)[1]
[2] => (string)[2]
[3] => (string)[3]
[4] => (string)[4]
[5] => (string)[5]
[6] => (string)[6]
)

See Also%arrayImplode()