This template will allow manipulation or retrieve properties of an array list with a designated separator. It handles three functions: count, get and pos.

Usage

[kulemba source]
((Array|<Function>|<Array items>|<Separator>|<Property>|Parameters (optional)))

5th parameter only valid with pos function when limiting multiple outputs to a single position.

Functions

[kulemba source]
Count

Will count the total number of items in the array using the designated separator. Leading or trailing separators will be stripped out.

Get

Will get the Nth item in the array.

Pos

Will retrieve the Nth position of the search item. If duplicates are found, will output all results with the designated separator. Output can be limited by specifying a 5th parameter. Can be used as true or false if output exists to determine if a match exists.

Do not use the ^ character as this is used as a placeholder.


See also

[kulemba source]