xxxxxxxxxx
public static void main(String[] args) {
String str = "abcdef";
String [] array = str.split(""); // {"a", "b", "c", "d", "e", "f" }.
}
xxxxxxxxxx
string strOne = "One,Two,Three,Four";
string[] strArrayOne = new string[] {""};
//somewhere in your code
strArrayOne = strOne.Split(',');
xxxxxxxxxx
char[] charArray = new char[] {'b','u','z','z'};
Stream<String> stream = Arrays.stream(charArray);
String store=stream.collect(Collectors.joining(" "));
System.out.println(store);