This will put each character in a String object into an array of Strings.
String[] rp = new String[ket2.length()];
for(int i = 0; i < rp.length(); i++) {
rp[j] = "" + ket2.charAt(i);
}
Tell me if this helps!
More Related Contents:
- Concat parameters from object list
- Java: convert List to a join()d String
- Best way to concatenate List of String objects? [duplicate]
- Convert String to double in Java
- Why am I not getting a java.util.ConcurrentModificationException in this example?
- How to convert List to Map?
- String, StringBuffer, and StringBuilder
- String concatenation: concat() vs “+” operator
- Convert character to ASCII numeric value in java
- Strip Leading and Trailing Spaces From Java String
- How to replace case-insensitive literal substrings in Java
- How to use regex in String.contains() method in Java
- How to check that a string is parseable to a double? [duplicate]
- How to convert current date into string in java?
- How to pick an item by its probability?
- Easy way to remove accents from a Unicode string? [duplicate]
- Get unique values from ArrayList in Java
- How do I escape a string in Java?
- How to have Java method return generic list of any type?
- Java collections convert a string to a list of characters
- How to convert list data into json in java
- How to remove single character from a String by index
- Component for filtering a list
- Check if one list contains element from the other
- what is Ljava.lang.String;@
- String.replaceAll is considerably slower than doing the job yourself
- Remove all occurrences of \ from string
- Is there a difference between String concat and the + operator in Java? [duplicate]
- Java String literal pool and string object
- java : Understanding Arrays.asList(T…array) method for primitive types