Anonymous user
Tokenize a string: Difference between revisions
m
→[[Java]]: added a "." to fully comply with the specification
m (→[[Java]]: remove unnessary tabbing) |
m (→[[Java]]: added a "." to fully comply with the specification) |
||
Line 14:
String word[] = toTokenize.split(",");
for(int i=0; i<word.length; i++) {
System.out.
}
Line 20:
StringTokenizer tokenizer = new StringTokenizer(toTokenize, ",");
while(tokenizer.hasMoreTokens()) {
System.out.
}
|