Tinderbox v9 Icon


Operator Type: 

Operator Scope of Action: 

Operator Purpose: 

Operator First Added: 

Operator Altered: 

 Property   [other Property type actions]

 List   [operators of similar scope]

 Dictionary, Set & List operations   [other Dictionary, Set & List operations operators]




Returns the first item of a list. If MyList is a 5-item list "ant;bee;cow;dog;eel":

$MyString = $MyList.first; returns "ant"


Returns a list of the first N items of a list. With the same list as above:

$MyList2 = $MyList.first(2); returns "ant;bee"