FAQ
Cover
This is the archive Discourse for the Processing (ALPHA) software.
Please visit the new Processing forum for current information.

   Processing 1.0 _ALPHA_
   Programming Questions & Help
   Syntax
(Moderators: fry, REAS)
   Quotation mark delimiter
« Previous topic | Next topic »

Pages: 1 
   Author  Topic: Quotation mark delimiter  (Read 452 times)
xoff

Email
Quotation mark delimiter
« on: Jun 26th, 2003, 1:13am »


String zzz = ddd.substring(index);
StringTokenizer fff  = new StringTokenizer(zzz,"\">#");
hhh = ff.nextToken();
 
it returns the error: unexpected token: c....
 
How can i define a quotation mark as a delimiter?
 
thanx
 

||||||||||||||||||||||||| 25% lodead
fry


WWW
Re: Quotation mark delimiter
« Reply #1 on: Jun 26th, 2003, 4:08am »

i think it's a parser bug (soon to be fixed). try this as a workaround:
 
new StringTokenizer(zzz, ">#" + (char)34);
 
Pages: 1 

« Previous topic | Next topic »