Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

arraylist of characters

  import java.util.ArrayList;

  public class Test{

       String words = new String("HELLO GOODBYE!");
       ArrayList<Character> sample = new ArrayList<Character>();

       for(int i = 0; i<words.length(); i++){
           sample.add(words.charAt(i));
       }
  }
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #arraylist #characters
ADD COMMENT
Topic
Name
4+2 =