how to convert string into string array in java of words 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(" ");