Home Segments Top Top Previous Next

597: Mainline

You tell a tokenizer to use a particular character as a delimiter by using the quoteChar method.

For example, to revise the tokens tokenizer to use double quotation marks to delimit strings, you write the following:

tokens.quoteChar((int) '"') 

Note that the double quotation character, ", must be cast to an int before you hand that character over as the argument to quoteChar.