title: How do I convert string array to ArrayList
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/3746639/assigning-an-array-to-an-arraylist-in-java">Assigning an array to an ArrayList in Java</a><br>
    <a href="https://stackoverflow.com/questions/3898548/java-how-to-convert-this-string-to-arraylist">java: how to convert this string to ArrayList?</a><br>
    <a href="https://stackoverflow.com/questions/7347856/how-to-convert-a-string-into-an-arraylist">How to convert a String into an ArrayList?</a>  </p>
  </blockquote>
  
  
  
  <p>I have this <code>String</code> : </p>
  
  <pre><code>["word1","word2","word3","word4"]
  </code></pre>
  
  <p>The above text is not an array, but a string returned from server via GCM (Google Cloud Messaging) communication. More specific, inside a GCM class i have this:</p>
  
  <pre><code>protected void onMessage(Context context, Intent intent) {
  
  String message = intent.getExtras().getString("cabmate");
  
     }
  </code></pre>
  
  <p>The value of the <code>String</code> message is   <code>["word1","word2","word3","word4"]</code>   </p>
  
  <p>Is there a way to convert it in <code>List</code> or <code>ArrayList</code> in Java?</p>