由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Java版 - how to set up multiple delimiter?
相关主题
JAVA里什么METHOD是用来STRING PATTERN SEARCHETL process in JAVA. --有建议的请回这个贴。
发现LinkedHashMap是个好东东请教String.split的regular expression
java 截取一部分stringRe: How to creat a newinstance with a param??
Issue when running a unix command with Runtime.getRuntime.exec()折腾了一天,实在是绝望了,请教请教
java问题:如何match两个正规表达式Re: Java中如何动态生成对象(Yuns的解释)
java string streamRe: how to write a string to a new file
出个简单题,看你Java APi熟悉到什么程度Re: how to initialize corba object orb in servlet
有人用过Spring吗?java String
相关话题的讨论汇总
话题: delimiter话题: string话题: set话题: multiple
进入Java版参与讨论
1 (共1页)
G*********a
发帖数: 1080
1
for StringTokenizor, i want to set up more than one delimiter in order to use
the this construcotor:
StringTokenizor st = new StringTokenizor (text, delimiter);
How should i include more than one element into this String delimiter?
String delimiter = ", ??? ."
Thanks.
x***n
发帖数: 39
2
dont understand ur question.
if u want the string of ", ??? ." as the delimiter, since it's a string,
i don't see a problem;
if u want multiple delimiters, say ",", "???", ".", at least u can
replace the occurrences of any other delimiters into one same delimiter.

【在 G*********a 的大作中提到】
: for StringTokenizor, i want to set up more than one delimiter in order to use
: the this construcotor:
: StringTokenizor st = new StringTokenizor (text, delimiter);
: How should i include more than one element into this String delimiter?
: String delimiter = ", ??? ."
: Thanks.

1 (共1页)
进入Java版参与讨论
相关主题
java Stringjava问题:如何match两个正规表达式
Re: 怎样递归操作目录,子目录以及他们下面的文件?java string stream
一个Java程序员的话(3)出个简单题,看你Java APi熟悉到什么程度
Re: 急问关于applet里打开文件的问题有人用过Spring吗?
JAVA里什么METHOD是用来STRING PATTERN SEARCHETL process in JAVA. --有建议的请回这个贴。
发现LinkedHashMap是个好东东请教String.split的regular expression
java 截取一部分stringRe: How to creat a newinstance with a param??
Issue when running a unix command with Runtime.getRuntime.exec()折腾了一天,实在是绝望了,请教请教
相关话题的讨论汇总
话题: delimiter话题: string话题: set话题: multiple