Explode Parameters

Top  Previous  Next

 

$e=explode("AUSTRALIA")

 

An explode parameter is a quick way of constructing a list of data from a word or number. This explode parameter is equivalent to typing

 

$d=data("A","U","S","T","R","A","L","I","A")

 

Once you have created an explode parameter, you can use the inline calculator to perform some useful operations.

 

For example:

 

{sort(unique($e))}

 

will return

 

A, I, L, R, S, T, U

 

which is the seven unique letters in AUSTRALIA sorted alphabetically.