Java memecah string menjadi kata -kata
String s = "I want to walk my dog";
String[] arr = s.split(" ");
for ( String ss : arr) {
System.out.println(ss);
}
Karamolegkos