![]() |
Type in a command, or "ls dictionary" to search all commands for "dictionary", etc.
|
NAME
idx - Get value from an array at a specified index
SYNOPSIS
idx [ARRAY DATA] -idx [ARRAY INDEX]
EXAMPLES
idx {explode 1,2,3,4} -idx 0
returns 1
idx {explode 1,2,3,4} -idx 3
returns 4
NOTES
'Arrays' are treated as zero-based
See also : explode, foreach
AUTHOR
Stephen Paul Weber
http://singpolyma-tech.blogspot.com/