Operator Scope of Action:
Operator First Added:
Elements in lists, sets, may be extracted with the bracket operator:
This has the same effect as .at( ), but may be more convenient. both
Returns the second list item (as list item addresses are zero-based).
This syntax can also assign values to specific elements of lists. For example,
$MyList="apple; pear; plum; cherry";
Will replace "pear" with "persimmon".