Read Me - Common Public License V1.0 - Copyright Notice(©)

removeItem


>>-removeItem(item)--------------------------------------------><

Removes an item from the array. If the target item exists at more than one index, the first located item is removed. Item equality is determined by using the == method of [item] . The return value is the removed item.

Array class - removeItem method

a = .array~of("Fred", "Mike", "Mike", "David")
a~removeItem("Mike")  -- removes the item at index "2"

Read Me - Common Public License V1.0 - Copyright Notice(©)