Operator Scope of Action:
Operator First Added:
The command .lookup() behaves like list.at() but only for look-up tables. For look-up tables .lookup() is preferred to .at() for clarity, and to avoid ambiguity when the argument is numeric. As with .at(), N is the zero-based offset in the list of values.
$MyString = $MyString.at(5); ← the sixth element of the list (don't forget N is counted from zero).
$MyString = $MyString.lookup(5) ← the lookup result for key value