Fix example. Fixes #4206

[SVN r61931]
This commit is contained in:
Steven Watanabe
2010-05-12 12:56:16 +00:00
parent 7e2e6856cc
commit 4515bc182e

View File

@ -339,7 +339,7 @@
typedef vector< string > split_vector_type;
split_vector_type SplitVec; // #2: Search for tokens
split( SplitVec, str1, is_any_of("-*") ); // SplitVec == { "hello abc","ABC","aBc goodbye" }
split( SplitVec, str1, is_any_of("-*"), token_compress_on ); // SplitVec == { "hello abc","ABC","aBc goodbye" }
</programlisting>
<para>
<code>[hello]</code> designates an <code>iterator_range</code> delimiting this substring.