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.
|
|