Answers for "how to convert a sentence into string array in java"

0

how to convert a sentence into string array in java

String str = "This is a simple sentence";
String[] strgs = str.split(" ");
Posted by: Guest on August-24-2020

Code answers related to "how to convert a sentence into string array in java"

Browse Popular Code Answers by Language