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