Just another update
This commit is contained in:
parent
a25938f123
commit
00a190b0a6
6591 changed files with 94363 additions and 23227 deletions
6
Task/Tokenize-a-string/Java/tokenize-a-string-3.java
Normal file
6
Task/Tokenize-a-string/Java/tokenize-a-string-3.java
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
String toTokenize = "Hello,How,Are,You,Today";
|
||||
|
||||
StringTokenizer tokenizer = new StringTokenizer(toTokenize, ",");
|
||||
while(tokenizer.hasMoreTokens()) {
|
||||
System.out.print(tokenizer.nextToken() + ".");
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue