Selection of variable


Hi there

i need help i am trying to write my own script for learning and i am stuck at this line 

(string $jnt[] = joint) i want to select again whats store in this variable through putting the name of the variable with a command of (select)

please can anyone help me