How to split part of array?

edited March 2016 in Programming Questions

How can I split a part of string array? Like:

String a[]={"processing is cool", "programing is funny", "bla bla"};
String b[]=new String[3];

I want to split one of those sentences to another array. Like split the sentence processing is cool to an array of:

1 processing
2 is
3 cool



Sign In or Register to comment.