summaryrefslogtreecommitdiff
path: root/doc/html/string_algo/usage.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/html/string_algo/usage.html')
-rw-r--r--doc/html/string_algo/usage.html38
1 files changed, 19 insertions, 19 deletions
diff --git a/doc/html/string_algo/usage.html b/doc/html/string_algo/usage.html
index a1f43cac1f..720f0e96c4 100644
--- a/doc/html/string_algo/usage.html
+++ b/doc/html/string_algo/usage.html
@@ -27,18 +27,18 @@
<div class="titlepage"><div><div><h2 class="title" style="clear: both">
<a name="string_algo.usage"></a>Usage</h2></div></div></div>
<div class="toc"><dl class="toc">
-<dt><span class="section"><a href="usage.html#idp106541856">First Example</a></span></dt>
-<dt><span class="section"><a href="usage.html#idp106564528">Case conversion</a></span></dt>
-<dt><span class="section"><a href="usage.html#idp106571840">Predicates and Classification</a></span></dt>
-<dt><span class="section"><a href="usage.html#idp106582112">Trimming</a></span></dt>
-<dt><span class="section"><a href="usage.html#idp106589088">Find algorithms</a></span></dt>
-<dt><span class="section"><a href="usage.html#idp106602240">Replace Algorithms</a></span></dt>
-<dt><span class="section"><a href="usage.html#idp106615600">Find Iterator</a></span></dt>
-<dt><span class="section"><a href="usage.html#idp106626864">Split</a></span></dt>
+<dt><span class="section"><a href="usage.html#idp125370176">First Example</a></span></dt>
+<dt><span class="section"><a href="usage.html#idp125392832">Case conversion</a></span></dt>
+<dt><span class="section"><a href="usage.html#idp125400256">Predicates and Classification</a></span></dt>
+<dt><span class="section"><a href="usage.html#idp125410464">Trimming</a></span></dt>
+<dt><span class="section"><a href="usage.html#idp125417552">Find algorithms</a></span></dt>
+<dt><span class="section"><a href="usage.html#idp125430704">Replace Algorithms</a></span></dt>
+<dt><span class="section"><a href="usage.html#idp125443872">Find Iterator</a></span></dt>
+<dt><span class="section"><a href="usage.html#idp125455072">Split</a></span></dt>
</dl></div>
<div class="section">
<div class="titlepage"><div><div><h3 class="title">
-<a name="idp106541856"></a>First Example</h3></div></div></div>
+<a name="idp125370176"></a>First Example</h3></div></div></div>
<p>
Using the algorithms is straightforward. Let us have a look at the first example:
</p>
@@ -110,7 +110,7 @@
</div>
<div class="section">
<div class="titlepage"><div><div><h3 class="title">
-<a name="idp106564528"></a>Case conversion</h3></div></div></div>
+<a name="idp125392832"></a>Case conversion</h3></div></div></div>
<p>
STL has a nice way of converting character case. Unfortunately, it works only
for a single character and we want to convert a string,
@@ -129,7 +129,7 @@
</div>
<div class="section">
<div class="titlepage"><div><div><h3 class="title">
-<a name="idp106571840"></a>Predicates and Classification</h3></div></div></div>
+<a name="idp125400256"></a>Predicates and Classification</h3></div></div></div>
<p>
A part of the library deals with string related predicates. Consider this example:
</p>
@@ -181,7 +181,7 @@
</div>
<div class="section">
<div class="titlepage"><div><div><h3 class="title">
-<a name="idp106582112"></a>Trimming</h3></div></div></div>
+<a name="idp125410464"></a>Trimming</h3></div></div></div>
<p>
When parsing the input from a user, strings often have unwanted leading or trailing
characters. To get rid of them, we need trim functions:
@@ -201,13 +201,13 @@
And for those cases when there is a need to remove something else than blank space, there
are <span class="emphasis"><em>_if</em></span> variants. Using these, a user can specify a functor which will
select the <span class="emphasis"><em>space</em></span> to be removed. It is possible to use classification
- predicates like <code class="computeroutput"><a class="link" href="../boost/algorithm/is_digit_idp440233520.html" title="Function is_digit">is_digit()</a></code> mentioned in the previous paragraph.
+ predicates like <code class="computeroutput"><a class="link" href="../boost/algorithm/is_digit_idp422000784.html" title="Function is_digit">is_digit()</a></code> mentioned in the previous paragraph.
See the reference for the <code class="computeroutput"><a class="link" href="reference.html#header.boost.algorithm.string.trim_hpp" title="Header &lt;boost/algorithm/string/trim.hpp&gt;">boost/algorithm/string/trim.hpp</a></code>.
</p>
</div>
<div class="section">
<div class="titlepage"><div><div><h3 class="title">
-<a name="idp106589088"></a>Find algorithms</h3></div></div></div>
+<a name="idp125417552"></a>Find algorithms</h3></div></div></div>
<p>
The library contains a set of find algorithms. Here is an example:
</p>
@@ -247,7 +247,7 @@
</div>
<div class="section">
<div class="titlepage"><div><div><h3 class="title">
-<a name="idp106602240"></a>Replace Algorithms</h3></div></div></div>
+<a name="idp125430704"></a>Replace Algorithms</h3></div></div></div>
<p>
Find algorithms can be used for searching for a specific part of string. Replace goes one step
further. After a matching part is found, it is substituted with something else. The substitution is computed
@@ -279,7 +279,7 @@
</div>
<div class="section">
<div class="titlepage"><div><div><h3 class="title">
-<a name="idp106615600"></a>Find Iterator</h3></div></div></div>
+<a name="idp125443872"></a>Find Iterator</h3></div></div></div>
<p>
An extension to find algorithms it the Find Iterator. Instead of searching for just a one part of a string,
the find iterator allows us to iterate over the substrings matching the specified criteria.
@@ -337,7 +337,7 @@
</div>
<div class="section">
<div class="titlepage"><div><div><h3 class="title">
-<a name="idp106626864"></a>Split</h3></div></div></div>
+<a name="idp125455072"></a>Split</h3></div></div></div>
<p>
Split algorithms are an extension to the find iterator for one common usage scenario.
These algorithms use a find iterator and store all matches into the provided
@@ -346,7 +346,7 @@
</p>
<p>
Two algorithms are provided. <code class="computeroutput"><a class="link" href="../boost/algorithm/find_all.html" title="Function template find_all">find_all()</a></code> finds all copies
- of a string in the input. <code class="computeroutput"><a class="link" href="../boost/algorithm/split_idp441369712.html" title="Function template split">split()</a></code> splits the input into parts.
+ of a string in the input. <code class="computeroutput"><a class="link" href="../boost/algorithm/split_idp423136976.html" title="Function template split">split()</a></code> splits the input into parts.
</p>
<pre class="programlisting">
string str1("hello abc-*-ABC-*-aBc goodbye");
@@ -370,7 +370,7 @@
to all substrings that are in case-insensitive manner equal to "abc".
</p>
<p>
- Second example uses <code class="computeroutput"><a class="link" href="../boost/algorithm/split_idp441369712.html" title="Function template split">split()</a></code> to split string str1 into parts
+ Second example uses <code class="computeroutput"><a class="link" href="../boost/algorithm/split_idp423136976.html" title="Function template split">split()</a></code> to split string str1 into parts
separated by characters '-' or '*'. These parts are then put into the SplitVec.
It is possible to specify if adjacent separators are concatenated or not.
</p>