title: How to convert one element of Object into array of instances?
body: <p>I have this this class <code>People</code> with fields name, phone, email, and address. There are many instances of this class. How can I get an array of all of the instances of the name element. For example, 
  <code>String[] array = "John, Tim, Harry"</code>. So, all I want to do is take one element out of every instance and create an array of them. I have been working on this for a long time. Help is greatly appreciated. By the way, all of the fields are strings. </p>