Convert the string into an array of Strings 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(" ");