Function: countElements()
Returns the number of elements in an Array or Recordset.
Syntax
countElements(list)
Examples
countElements(lookupPipe)
Returns the number of rows in the Pipe referenced by lookupPipe.
$userArray = split(in.users,","), $numUsers = countElements($userArray)
in.users is a list of user names separated by commas. The split() function converts this into an Array and countElements() returns the number of users.