What do you want to do with it? To store it in a variable: Code: eval "value=\${STAT_$VAR[2]}"
eval "value=\${STAT_$VAR[2]}"