|
|
|
|
复制本帖HTML代码
|
高亮:
今天贴
X 昨天贴
X 前天贴
X |
例如StringTokenizer(string,",. ",fasle);
那么就不会返回","和"."
你在这里用StringTokenizer(s," \t\n\r,.;:");
那么在遇到"\t","\n",".",";"的时候,nextToken()也会返回。
如果加false,nextToken()在遇到上面的指定的string,会忽略掉它们。.
|
欢迎来到华新中文网,踊跃发帖是支持我们的最好方法! |
Many events have slipped by. And you are here, now, always.
People are not memories that you can put into words. They live.
|
|