title: Query a part of string from an ArrayList
body: <p>I have the below couchbase query in Java to get an array list of a particular value.</p>
  
  <pre><code>Statement statement = select("PlanningId").from(i(CouchbaseBucket.RangePlan.toString()))
                           .where(x("meta().id").like(s("PRODUCTOPTION%")).and(x("Status").eq(s("Ready"))));
  
      String[] planningIDs = couchbaseRepository.getQueryResult(bucket, statement);
  </code></pre>
  
  <p>This return the output as:</p>
  
  <pre><code>[{"PlanningId":"PRODUCTPLANNING_666"}, {"PlanningId":"PRODUCTPLANNING_777"}]
  </code></pre>
  
  <p>I need the output with only the values:</p>
  
  <pre><code>[{"PRODUCTPLANNING_666"}, {"PRODUCTPLANNING_777"}]
  </code></pre>
  
  <p>I am not able to get this using the substring or a split.
  How would I achieve this?</p>
  
  <p>Thanks
  Emraan</p>