Function: |
Splits an element by a given combination and returns it to an array. i.e. -
$myVar = "GREAT";
@splitVar = split($myVar) by("E");
@splitVar[0] holds the value of "GR" and @splitVar[1] holds the value of "AT". This could work outside of GALiRe Script, as long as it is within an event tag (ex. onLoad:;). |
|