Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

java string extract words

String test = "My first arg test";
String[] words = test.split(" ");

for (String word : words) System.out.println(word);
 
PREVIOUS NEXT
Tagged: #java #string #extract #words
ADD COMMENT
Topic
Name
9+3 =