title: How to use a string input as an array? Swift
body: <p>I'm trying to take the result of one array as a string, and use this result as the name of an already existing array. </p>
  
  <pre><code>var Jeep_Model: [String] = ["CJ",
                          "DJ",
                          "SJ",
                          "XJ",
                          "Comanche",
                          "YJ",
                          "TJ",
                          "JK"
                          //"Grand Cherokee",
                          //"Renegade",
                          //"Compass",
                          //"Commander",
                          //"Liberty",
                          //"Patriot",
                          //"Wagoneer"
                          ]
  
  var CJ: [String] = ["CJ-1",
                  "CJ-2",
                  "CJ-2A",
                  "CJ-V35",
                  "CJ-4",
                  "CJ-4M",
                  "CJ-4MA",
                  "CJ-3B",
                  "CJ-5: Tuxedo Park Mark III",
                  "CJ-5: Camper",
                  "CJ-5: 462",
                  "CJ-5: Renegade I",
                  "CJ-5: Renegade II",
                  "CJ-5: Super Jeep",
                  "CJ-5: Golden Eagle",
                  "CJ-5: Golden Eagle California Edition",
                  "CJ-5: Golden Hawk",
                  "CJ-5: Silver Anniversary",
                  "CJ-6",
                  "CJ-3B Long",
                  "CJ-5A",
                  "CJ-6A",
                  "CJ-7",
                  "CJ-5",
                  "CJ-8: Scrambler",
                  "CJ-10"
                  ]
  </code></pre>
  
  <p>So if Jeep_Model returns CJ, then I want to be able to call CJ as an array. Does this question make sense and if so, is this even possible?</p>
  
  <p>Jeep_Model returns "CJ", then I want to read the array CJ.count or CJ[2] etc etc...</p>