title: How to print values of getString differently?
body: <pre><code>&lt;%
                          st = con.createStatement();
                          rs = st.executeQuery("select pf_nm from portfolio");
  
                      while(rs.next())
                          {
                             String arr= rs.getString(1);
                             out.println(arr+"\n\n");
                          }
   %&gt;
  </code></pre>
  
  <p>As shown in above code, I get multiple values in return of getString(1),but I want all of them individually. How to get them?</p>
  
  <p>For example, getString(1) returns Google Facebook Apple Adobe. I want to print them individually by storing them in some manner so that each of them is accessible thereafter.</p>