Answers for "how to convert a string sentence into an array"

0

how to convert a string sentence into an array

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 string sentence into an array"

Browse Popular Code Answers by Language