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