java string extract words

Solutions on MaxInterview for java string extract words by the best coders in the world

we are a community of more than 2 million smartest coders
registration for
employee referral programs
are now open
get referred to google, amazon, flipkart and more
register now
  
pinned-register now
showing results for - "java string extract words"
Noé
27 Jan 2016
1String test = "My first arg test";
2String[] words = test.split(" ");
3
4for (String word : words) System.out.println(word);