$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-users] using '\0' as separator in char_separator and tokenizer classes
From: kmulla_at_[hidden]
Date: 2011-01-10 03:41:02
Hi All,
I am trying to use boost::tokenizer to tokenize a string containing embedded '\0' characters. I am using boost::char_separator to specify the separator. I am not getting correct tokens when I am using '\0' as the separator.
Here I am curious to know, if it is indeed possible to use '\0' as separator in boost::char_separator class. I am pretty much using the code in the example given on below link. I know my code works since I am getting correct results with different separator values.
http://www.boost.org/doc/libs/1_45_0/libs/tokenizer/char_separator.htm
Best,
K Mulla