GALiRe
GScript property (lengthOf)




Function:
Returns the length of a variable, array, or element value. i.e. -
$usrName = "Bonjour";
$nameLength = lengthOf($usrName); // returns '7'

create(@myArray(1,14,51));
$arrayLength = lengthOf(@myArray); // returns '3'


This works outside of GALiRe Script, as long as it is within an event tag (ex. onLoad:;).