Boost logo

Boost Users :

From: Seweryn Habdank-Wojewódzki (shw_at_[hidden])
Date: 2007-06-01 10:53:59


Hi

Is that possible to take actual position of the tokenizer in the parsed
string?

The question is motivated by such a case:

1. there is a line with data separated by e.g. "\t' sign

1 23 3.45 21 2093 494 3.4

2. important is only some of them let say from 2nd token to 5th token, but
after parsing them I want to pass tokens from 6th to the end to the other
string.

Now I am iterating tokenizer to the end, and concatenate it. If I have had a
position of tokenizer on the string I can simply create new substring with
out iteration.

Maybe there is other solution for that.

Regards.

-- 
|\/\/|   Seweryn Habdank-Wojewódzki
 \/\/ 

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net