Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Returns the number of elements in an Array or Recordset.

Syntax

countElements(list)

...

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.

...