From 4515bc182e60fc529284c5c67742bd0b04865dc1 Mon Sep 17 00:00:00 2001 From: Steven Watanabe Date: Wed, 12 May 2010 12:56:16 +0000 Subject: [PATCH] Fix example. Fixes #4206 [SVN r61931] --- string/doc/usage.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/string/doc/usage.xml b/string/doc/usage.xml index 39c4e1a..d971102 100644 --- a/string/doc/usage.xml +++ b/string/doc/usage.xml @@ -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" } [hello] designates an iterator_range delimiting this substring.