java sentence to string array code example
Example: how to convert a sentence into string array in java
String str = "This is a simple sentence";
String[] strgs = str.split(" ");
String str = "This is a simple sentence";
String[] strgs = str.split(" ");