boost/doc/html/string_algo/quickref.html
2021-10-05 21:37:46 +02:00

825 lines
43 KiB
HTML
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Quick Reference</title>
<link rel="stylesheet" href="../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="../index.html" title="The Boost C++ Libraries BoostBook Documentation Subset">
<link rel="up" href="../string_algo.html" title="Chapter 2. Boost String Algorithms Library">
<link rel="prev" href="usage.html" title="Usage">
<link rel="next" href="design.html" title="Design Topics">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../boost.png"></td>
<td align="center"><a href="../../../index.html">Home</a></td>
<td align="center"><a href="../../../libs/libraries.htm">Libraries</a></td>
<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
<td align="center"><a href="../../../more/index.htm">More</a></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="usage.html"><img src="../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../string_algo.html"><img src="../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="design.html"><img src="../../../doc/src/images/next.png" alt="Next"></a>
</div>
<div class="section">
<div class="titlepage"><div><div><h2 class="title" style="clear: both">
<a name="string_algo.quickref"></a>Quick Reference</h2></div></div></div>
<div class="toc"><dl class="toc">
<dt><span class="section"><a href="quickref.html#id-1.3.3.6.2">Algorithms</a></span></dt>
<dt><span class="section"><a href="quickref.html#id-1.3.3.6.3">Finders and Formatters</a></span></dt>
<dt><span class="section"><a href="quickref.html#id-1.3.3.6.4">Iterators</a></span></dt>
<dt><span class="section"><a href="quickref.html#id-1.3.3.6.5">Classification</a></span></dt>
</dl></div>
<div class="section">
<div class="titlepage"><div><div><h3 class="title">
<a name="id-1.3.3.6.2"></a>Algorithms</h3></div></div></div>
<div class="table">
<a name="id-1.3.3.6.2.2"></a><p class="title"><b>Table 2.1. Case Conversion</b></p>
<div class="table-contents"><table class="table" summary="Case Conversion">
<colgroup>
<col>
<col>
<col>
</colgroup>
<thead><tr>
<th align="left">Algorithm name</th>
<th align="left">Description</th>
<th align="left">Functions</th>
</tr></thead>
<tbody>
<tr>
<td align="left"><code class="computeroutput">to_upper</code></td>
<td align="left">Convert a string to upper case</td>
<td align="left">
<code class="computeroutput"><a class="link" href="../boost/algorithm/to_upper_copy.html" title="Function to_upper_copy">to_upper_copy()</a></code>
<br>
<code class="computeroutput"><a class="link" href="../boost/algorithm/to_upper.html" title="Function template to_upper">to_upper()</a></code>
</td>
</tr>
<tr>
<td align="left"><code class="computeroutput">to_lower</code></td>
<td align="left">Convert a string to lower case</td>
<td align="left">
<code class="computeroutput"><a class="link" href="../boost/algorithm/to_lower_copy.html" title="Function to_lower_copy">to_lower_copy()</a></code>
<br>
<code class="computeroutput"><a class="link" href="../boost/algorithm/to_lower.html" title="Function template to_lower">to_lower()</a></code>
</td>
</tr>
</tbody>
</table></div>
</div>
<br class="table-break"><div class="table">
<a name="id-1.3.3.6.2.3"></a><p class="title"><b>Table 2.2. Trimming</b></p>
<div class="table-contents"><table class="table" summary="Trimming">
<colgroup>
<col>
<col>
<col>
</colgroup>
<thead><tr>
<th align="left">Algorithm name</th>
<th align="left">Description</th>
<th align="left">Functions</th>
</tr></thead>
<tbody>
<tr>
<td align="left"><code class="computeroutput">trim_left</code></td>
<td align="left">Remove leading spaces from a string</td>
<td align="left">
<code class="computeroutput"><a class="link" href="../boost/algorithm/trim_left_copy_if.html" title="Function trim_left_copy_if">trim_left_copy_if()</a></code>
<br>
<code class="computeroutput"><a class="link" href="../boost/algorithm/trim_left_if.html" title="Function template trim_left_if">trim_left_if()</a></code>
<br>
<code class="computeroutput"><a class="link" href="../boost/algorithm/trim_left_copy.html" title="Function template trim_left_copy">trim_left_copy()</a></code>
<br>
<code class="computeroutput"><a class="link" href="../boost/algorithm/trim_left.html" title="Function template trim_left">trim_left()</a></code>
</td>
</tr>
<tr>
<td align="left"><code class="computeroutput">trim_right</code></td>
<td align="left">Remove trailing spaces from a string</td>
<td align="left">
<code class="computeroutput"><a class="link" href="../boost/algorithm/trim_right_copy_if.html" title="Function trim_right_copy_if">trim_right_copy_if()</a></code>
<br>
<code class="computeroutput"><a class="link" href="../boost/algorithm/trim_right_if.html" title="Function template trim_right_if">trim_right_if()</a></code>
<br>
<code class="computeroutput"><a class="link" href="../boost/algorithm/trim_right_copy.html" title="Function template trim_right_copy">trim_right_copy()</a></code>
<br>
<code class="computeroutput"><a class="link" href="../boost/algorithm/trim_right.html" title="Function template trim_right">trim_right()</a></code>
</td>
</tr>
<tr>
<td align="left"><code class="computeroutput">trim</code></td>
<td align="left">Remove leading and trailing spaces from a string</td>
<td align="left">
<code class="computeroutput"><a class="link" href="../boost/algorithm/trim_copy_if.html" title="Function trim_copy_if">trim_copy_if()</a></code>
<br>
<code class="computeroutput"><a class="link" href="../boost/algorithm/trim_if.html" title="Function template trim_if">trim_if()</a></code>
<br>
<code class="computeroutput"><a class="link" href="../boost/algorithm/trim_copy.html" title="Function template trim_copy">trim_copy()</a></code>
<br>
<code class="computeroutput"><a class="link" href="../boost/algorithm/trim.html" title="Function template trim">trim()</a></code>
</td>
</tr>
</tbody>
</table></div>
</div>
<br class="table-break"><div class="table">
<a name="id-1.3.3.6.2.4"></a><p class="title"><b>Table 2.3. Predicates</b></p>
<div class="table-contents"><table class="table" summary="Predicates">
<colgroup>
<col>
<col>
<col>
</colgroup>
<thead><tr>
<th align="left">Algorithm name</th>
<th align="left">Description</th>
<th align="left">Functions</th>
</tr></thead>
<tbody>
<tr>
<td align="left"><code class="computeroutput">starts_with</code></td>
<td align="left">Check if a string is a prefix of the other one</td>
<td align="left">
<code class="computeroutput"><a class="link" href="../boost/algorithm/starts_with.html" title="Function starts_with">starts_with()</a></code>
<br>
<code class="computeroutput"><a class="link" href="../boost/algorithm/istarts_with.html" title="Function template istarts_with">istarts_with()</a></code>
</td>
</tr>
<tr>
<td align="left"><code class="computeroutput">ends_with</code></td>
<td align="left">Check if a string is a suffix of the other one</td>
<td align="left">
<code class="computeroutput"><a class="link" href="../boost/algorithm/ends_with.html" title="Function ends_with">ends_with()</a></code>
<br>
<code class="computeroutput"><a class="link" href="../boost/algorithm/iends_with.html" title="Function template iends_with">iends_with()</a></code>
</td>
</tr>
<tr>
<td align="left"><code class="computeroutput">contains</code></td>
<td align="left">Check if a string is contained of the other one</td>
<td align="left">
<code class="computeroutput"><a class="link" href="../boost/algorithm/contains.html" title="Function contains">contains()</a></code>
<br>
<code class="computeroutput"><a class="link" href="../boost/algorithm/icontains.html" title="Function template icontains">icontains()</a></code>
</td>
</tr>
<tr>
<td align="left"><code class="computeroutput">equals</code></td>
<td align="left">Check if two strings are equal</td>
<td align="left">
<code class="computeroutput"><a class="link" href="../boost/algorithm/equals.html" title="Function equals">equals()</a></code>
<br>
<code class="computeroutput"><a class="link" href="../boost/algorithm/iequals.html" title="Function template iequals">iequals()</a></code>
</td>
</tr>
<tr>
<td align="left"><code class="computeroutput">lexicographical_compare</code></td>
<td align="left">Check if a string is lexicographically less then another one</td>
<td align="left">
<code class="computeroutput"><a class="link" href="../boost/algorithm/lexicographical_compare.html" title="Function lexicographical_compare">lexicographical_compare()</a></code>
<br>
<code class="computeroutput"><a class="link" href="../boost/algorithm/ilexicographical_compare.html" title="Function template ilexicographical_compare">ilexicographical_compare()</a></code>
</td>
</tr>
<tr>
<td align="left"><code class="computeroutput">all</code></td>
<td align="left">Check if all elements of a string satisfy the given predicate</td>
<td align="left">
<code class="computeroutput"><a class="link" href="../boost/algorithm/all.html" title="Function template all">all()</a></code>
</td>
</tr>
</tbody>
</table></div>
</div>
<br class="table-break"><div class="table">
<a name="id-1.3.3.6.2.5"></a><p class="title"><b>Table 2.4. Find algorithms</b></p>
<div class="table-contents"><table class="table" summary="Find algorithms">
<colgroup>
<col>
<col>
<col>
</colgroup>
<thead><tr>
<th align="left">Algorithm name</th>
<th align="left">Description</th>
<th align="left">Functions</th>
</tr></thead>
<tbody>
<tr>
<td align="left">find_first</td>
<td align="left">Find the first occurrence of a string in the input</td>
<td align="left">
<code class="computeroutput"><a class="link" href="../boost/algorithm/find_first.html" title="Function template find_first">find_first()</a></code>
<br>
<code class="computeroutput"><a class="link" href="../boost/algorithm/ifind_first.html" title="Function template ifind_first">ifind_first()</a></code>
</td>
</tr>
<tr>
<td align="left">find_last</td>
<td align="left">Find the last occurrence of a string in the input</td>
<td align="left">
<code class="computeroutput"><a class="link" href="../boost/algorithm/find_last.html" title="Function template find_last">find_last()</a></code>
<br>
<code class="computeroutput"><a class="link" href="../boost/algorithm/ifind_last.html" title="Function template ifind_last">ifind_last()</a></code>
</td>
</tr>
<tr>
<td align="left">find_nth</td>
<td align="left">Find the nth (zero-indexed) occurrence of a string in the input</td>
<td align="left">
<code class="computeroutput"><a class="link" href="../boost/algorithm/find_nth.html" title="Function template find_nth">find_nth()</a></code>
<br>
<code class="computeroutput"><a class="link" href="../boost/algorithm/ifind_nth.html" title="Function template ifind_nth">ifind_nth()</a></code>
</td>
</tr>
<tr>
<td align="left">find_head</td>
<td align="left">Retrieve the head of a string</td>
<td align="left">
<code class="computeroutput"><a class="link" href="../boost/algorithm/find_head.html" title="Function template find_head">find_head()</a></code>
</td>
</tr>
<tr>
<td align="left">find_tail</td>
<td align="left">Retrieve the tail of a string</td>
<td align="left">
<code class="computeroutput"><a class="link" href="../boost/algorithm/find_tail.html" title="Function template find_tail">find_tail()</a></code>
</td>
</tr>
<tr>
<td align="left">find_token</td>
<td align="left">Find first matching token in the string</td>
<td align="left">
<code class="computeroutput"><a class="link" href="../boost/algorithm/find_token.html" title="Function template find_token">find_token()</a></code>
</td>
</tr>
<tr>
<td align="left">find_regex</td>
<td align="left">Use the regular expression to search the string</td>
<td align="left">
<code class="computeroutput"><a class="link" href="../boost/algorithm/find_regex.html" title="Function template find_regex">find_regex()</a></code>
</td>
</tr>
<tr>
<td align="left">find</td>
<td align="left">Generic find algorithm</td>
<td align="left">
<code class="computeroutput"><a class="link" href="../boost/algorithm/find.html" title="Function template find">find()</a></code>
</td>
</tr>
</tbody>
</table></div>
</div>
<br class="table-break"><div class="table">
<a name="id-1.3.3.6.2.6"></a><p class="title"><b>Table 2.5. Erase/Replace</b></p>
<div class="table-contents"><table class="table" summary="Erase/Replace">
<colgroup>
<col>
<col>
<col>
</colgroup>
<thead><tr>
<th align="left">Algorithm name</th>
<th align="left">Description</th>
<th align="left">Functions</th>
</tr></thead>
<tbody>
<tr>
<td align="left">replace/erase_first</td>
<td align="left">Replace/Erase the first occurrence of a string in the input</td>
<td align="left">
<code class="computeroutput"><a class="link" href="../boost/algorithm/replace_first.html" title="Function template replace_first">replace_first()</a></code>
<br>
<code class="computeroutput"><a class="link" href="../boost/algorithm/replace_first_copy.html" title="Function replace_first_copy">replace_first_copy()</a></code>
<br>
<code class="computeroutput"><a class="link" href="../boost/algorithm/ireplace_first.html" title="Function template ireplace_first">ireplace_first()</a></code>
<br>
<code class="computeroutput"><a class="link" href="../boost/algorithm/ireplace_first_copy.html" title="Function ireplace_first_copy">ireplace_first_copy()</a></code>
<br>
<code class="computeroutput"><a class="link" href="../boost/algorithm/erase_first.html" title="Function template erase_first">erase_first()</a></code>
<br>
<code class="computeroutput"><a class="link" href="../boost/algorithm/erase_first_copy.html" title="Function erase_first_copy">erase_first_copy()</a></code>
<br>
<code class="computeroutput"><a class="link" href="../boost/algorithm/ierase_first.html" title="Function template ierase_first">ierase_first()</a></code>
<br>
<code class="computeroutput"><a class="link" href="../boost/algorithm/ierase_first_copy.html" title="Function ierase_first_copy">ierase_first_copy()</a></code>
</td>
</tr>
<tr>
<td align="left">replace/erase_last</td>
<td align="left">Replace/Erase the last occurrence of a string in the input</td>
<td align="left">
<code class="computeroutput"><a class="link" href="../boost/algorithm/replace_last.html" title="Function template replace_last">replace_last()</a></code>
<br>
<code class="computeroutput"><a class="link" href="../boost/algorithm/replace_last_copy.html" title="Function replace_last_copy">replace_last_copy()</a></code>
<br>
<code class="computeroutput"><a class="link" href="../boost/algorithm/ireplace_last.html" title="Function template ireplace_last">ireplace_last()</a></code>
<br>
<code class="computeroutput"><a class="link" href="../boost/algorithm/ireplace_last_copy.html" title="Function ireplace_last_copy">ireplace_last_copy()</a></code>
<br>
<code class="computeroutput"><a class="link" href="../boost/algorithm/erase_last.html" title="Function template erase_last">erase_last()</a></code>
<br>
<code class="computeroutput"><a class="link" href="../boost/algorithm/erase_last_copy.html" title="Function erase_last_copy">erase_last_copy()</a></code>
<br>
<code class="computeroutput"><a class="link" href="../boost/algorithm/ierase_last.html" title="Function template ierase_last">ierase_last()</a></code>
<br>
<code class="computeroutput"><a class="link" href="../boost/algorithm/ierase_last_copy.html" title="Function ierase_last_copy">ierase_last_copy()</a></code>
</td>
</tr>
<tr>
<td align="left">replace/erase_nth</td>
<td align="left">Replace/Erase the nth (zero-indexed) occurrence of a string in the input</td>
<td align="left">
<code class="computeroutput"><a class="link" href="../boost/algorithm/replace_nth.html" title="Function template replace_nth">replace_nth()</a></code>
<br>
<code class="computeroutput"><a class="link" href="../boost/algorithm/replace_nth_copy.html" title="Function replace_nth_copy">replace_nth_copy()</a></code>
<br>
<code class="computeroutput"><a class="link" href="../boost/algorithm/ireplace_nth.html" title="Function template ireplace_nth">ireplace_nth()</a></code>
<br>
<code class="computeroutput"><a class="link" href="../boost/algorithm/ireplace_nth_copy.html" title="Function ireplace_nth_copy">ireplace_nth_copy()</a></code>
<br>
<code class="computeroutput"><a class="link" href="../boost/algorithm/erase_nth.html" title="Function template erase_nth">erase_nth()</a></code>
<br>
<code class="computeroutput"><a class="link" href="../boost/algorithm/erase_nth_copy.html" title="Function erase_nth_copy">erase_nth_copy()</a></code>
<br>
<code class="computeroutput"><a class="link" href="../boost/algorithm/ierase_nth.html" title="Function template ierase_nth">ierase_nth()</a></code>
<br>
<code class="computeroutput"><a class="link" href="../boost/algorithm/ierase_nth_copy.html" title="Function ierase_nth_copy">ierase_nth_copy()</a></code>
</td>
</tr>
<tr>
<td align="left">replace/erase_all</td>
<td align="left">Replace/Erase the all occurrences of a string in the input</td>
<td align="left">
<code class="computeroutput"><a class="link" href="../boost/algorithm/replace_all.html" title="Function template replace_all">replace_all()</a></code>
<br>
<code class="computeroutput"><a class="link" href="../boost/algorithm/replace_all_copy.html" title="Function replace_all_copy">replace_all_copy()</a></code>
<br>
<code class="computeroutput"><a class="link" href="../boost/algorithm/ireplace_all.html" title="Function template ireplace_all">ireplace_all()</a></code>
<br>
<code class="computeroutput"><a class="link" href="../boost/algorithm/ireplace_all_copy.html" title="Function ireplace_all_copy">ireplace_all_copy()</a></code>
<br>
<code class="computeroutput"><a class="link" href="../boost/algorithm/erase_all.html" title="Function template erase_all">erase_all()</a></code>
<br>
<code class="computeroutput"><a class="link" href="../boost/algorithm/erase_all_copy.html" title="Function erase_all_copy">erase_all_copy()</a></code>
<br>
<code class="computeroutput"><a class="link" href="../boost/algorithm/ierase_all.html" title="Function template ierase_all">ierase_all()</a></code>
<br>
<code class="computeroutput"><a class="link" href="../boost/algorithm/ierase_all_copy.html" title="Function ierase_all_copy">ierase_all_copy()</a></code>
</td>
</tr>
<tr>
<td align="left">replace/erase_head</td>
<td align="left">Replace/Erase the head of the input</td>
<td align="left">
<code class="computeroutput"><a class="link" href="../boost/algorithm/replace_head.html" title="Function template replace_head">replace_head()</a></code>
<br>
<code class="computeroutput"><a class="link" href="../boost/algorithm/replace_head_copy.html" title="Function replace_head_copy">replace_head_copy()</a></code>
<br>
<code class="computeroutput"><a class="link" href="../boost/algorithm/erase_head.html" title="Function template erase_head">erase_head()</a></code>
<br>
<code class="computeroutput"><a class="link" href="../boost/algorithm/erase_head_copy.html" title="Function erase_head_copy">erase_head_copy()</a></code>
<br>
</td>
</tr>
<tr>
<td align="left">replace/erase_tail</td>
<td align="left">Replace/Erase the tail of the input</td>
<td align="left">
<code class="computeroutput"><a class="link" href="../boost/algorithm/replace_tail.html" title="Function template replace_tail">replace_tail()</a></code>
<br>
<code class="computeroutput"><a class="link" href="../boost/algorithm/replace_tail_copy.html" title="Function replace_tail_copy">replace_tail_copy()</a></code>
<br>
<code class="computeroutput"><a class="link" href="../boost/algorithm/erase_tail.html" title="Function template erase_tail">erase_tail()</a></code>
<br>
<code class="computeroutput"><a class="link" href="../boost/algorithm/erase_tail_copy.html" title="Function erase_tail_copy">erase_tail_copy()</a></code>
<br>
</td>
</tr>
<tr>
<td align="left">replace/erase_regex</td>
<td align="left">Replace/Erase a substring matching the given regular expression</td>
<td align="left">
<code class="computeroutput"><a class="link" href="../boost/algorithm/replace_regex.html" title="Function template replace_regex">replace_regex()</a></code>
<br>
<code class="computeroutput"><a class="link" href="../boost/algorithm/replace_regex_copy.html" title="Function replace_regex_copy">replace_regex_copy()</a></code>
<br>
<code class="computeroutput"><a class="link" href="../boost/algorithm/erase_regex.html" title="Function template erase_regex">erase_regex()</a></code>
<br>
<code class="computeroutput"><a class="link" href="../boost/algorithm/erase_regex_copy.html" title="Function erase_regex_copy">erase_regex_copy()</a></code>
<br>
</td>
</tr>
<tr>
<td align="left">replace/erase_regex_all</td>
<td align="left">Replace/Erase all substrings matching the given regular expression</td>
<td align="left">
<code class="computeroutput"><a class="link" href="../boost/algorithm/replace_all_regex.html" title="Function template replace_all_regex">replace_all_regex()</a></code>
<br>
<code class="computeroutput"><a class="link" href="../boost/algorithm/replace_all_regex_copy.html" title="Function replace_all_regex_copy">replace_all_regex_copy()</a></code>
<br>
<code class="computeroutput"><a class="link" href="../boost/algorithm/erase_all_regex.html" title="Function template erase_all_regex">erase_all_regex()</a></code>
<br>
<code class="computeroutput"><a class="link" href="../boost/algorithm/erase_all_regex_copy.html" title="Function erase_all_regex_copy">erase_all_regex_copy()</a></code>
<br>
</td>
</tr>
<tr>
<td align="left">find_format</td>
<td align="left">Generic replace algorithm</td>
<td align="left">
<code class="computeroutput"><a class="link" href="../boost/algorithm/find_format.html" title="Function template find_format">find_format()</a></code>
<br>
<code class="computeroutput"><a class="link" href="../boost/algorithm/find_format_copy.html" title="Function find_format_copy">find_format_copy()</a></code>
<br>
<code class="computeroutput"><a class="link" href="../boost/algorithm/find_format_all.html" title="Function template find_format_all">find_format_all()</a></code>
<br>
<code class="computeroutput"><a class="link" href="../boost/algorithm/find_format_all_copy.html" title="Function find_format_all_copy">find_format_all_copy()()</a></code>
</td>
</tr>
</tbody>
</table></div>
</div>
<br class="table-break"><div class="table">
<a name="id-1.3.3.6.2.7"></a><p class="title"><b>Table 2.6. Split</b></p>
<div class="table-contents"><table class="table" summary="Split">
<colgroup>
<col>
<col>
<col>
</colgroup>
<thead><tr>
<th align="left">Algorithm name</th>
<th align="left">Description</th>
<th align="left">Functions</th>
</tr></thead>
<tbody>
<tr>
<td align="left">find_all</td>
<td align="left">Find/Extract all matching substrings in the input</td>
<td align="left">
<code class="computeroutput"><a class="link" href="../boost/algorithm/find_all.html" title="Function template find_all">find_all()</a></code>
<br>
<code class="computeroutput"><a class="link" href="../boost/algorithm/ifind_all.html" title="Function template ifind_all">ifind_all()</a></code>
<br>
<code class="computeroutput"><a class="link" href="../boost/algorithm/find_all_regex.html" title="Function template find_all_regex">find_all_regex()</a></code>
</td>
</tr>
<tr>
<td align="left">split</td>
<td align="left">Split input into parts</td>
<td align="left">
<code class="computeroutput"><a class="link" href="../boost/algorithm/split.html" title="Function template split">split()</a></code>
<br>
<code class="computeroutput"><a class="link" href="../boost/algorithm/split_regex.html" title="Function template split_regex">split_regex()</a></code>
</td>
</tr>
<tr>
<td align="left">iter_find</td>
<td align="left">Iteratively apply the finder to the input to find all matching substrings</td>
<td align="left">
<code class="computeroutput"><a class="link" href="../boost/algorithm/iter_find.html" title="Function template iter_find">iter_find()</a></code>
</td>
</tr>
<tr>
<td align="left">iter_split</td>
<td align="left">Use the finder to find matching substrings in the input and use them as separators to split the input into parts</td>
<td align="left">
<code class="computeroutput"><a class="link" href="../boost/algorithm/iter_split.html" title="Function template iter_split">iter_split()</a></code>
</td>
</tr>
</tbody>
</table></div>
</div>
<br class="table-break"><div class="table">
<a name="id-1.3.3.6.2.8"></a><p class="title"><b>Table 2.7. Join</b></p>
<div class="table-contents"><table class="table" summary="Join">
<colgroup>
<col>
<col>
<col>
</colgroup>
<thead><tr>
<th align="left">Algorithm name</th>
<th align="left">Description</th>
<th align="left">Functions</th>
</tr></thead>
<tbody>
<tr>
<td align="left">join</td>
<td align="left">Join all elements in a container into a single string</td>
<td align="left">
<code class="computeroutput"><a class="link" href="../boost/algorithm/join.html" title="Function template join">join</a></code>
</td>
</tr>
<tr>
<td align="left">join_if</td>
<td align="left">Join all elements in a container that satisfies the condition into a single string</td>
<td align="left">
<code class="computeroutput"><a class="link" href="../boost/algorithm/join_if_1_3_3_9_14_3_1_2.html" title="Function template join_if">join_if()</a></code>
</td>
</tr>
</tbody>
</table></div>
</div>
<br class="table-break">
</div>
<div class="section">
<div class="titlepage"><div><div><h3 class="title">
<a name="id-1.3.3.6.3"></a>Finders and Formatters</h3></div></div></div>
<div class="table">
<a name="id-1.3.3.6.3.2"></a><p class="title"><b>Table 2.8. Finders</b></p>
<div class="table-contents"><table class="table" summary="Finders">
<colgroup>
<col>
<col>
<col>
</colgroup>
<thead><tr>
<th align="left">Finder</th>
<th align="left">Description</th>
<th align="left">Generators</th>
</tr></thead>
<tbody>
<tr>
<td align="left">first_finder</td>
<td align="left">Search for the first match of the string in an input</td>
<td align="left">
<code class="computeroutput"><a class="link" href="../boost/algorithm/first_finder.html" title="Function first_finder">first_finder()</a></code>
</td>
</tr>
<tr>
<td align="left">last_finder</td>
<td align="left">Search for the last match of the string in an input</td>
<td align="left">
<code class="computeroutput"><a class="link" href="../boost/algorithm/last_finder.html" title="Function last_finder">last_finder()</a></code>
</td>
</tr>
<tr>
<td align="left">nth_finder</td>
<td align="left">Search for the nth (zero-indexed) match of the string in an input</td>
<td align="left">
<code class="computeroutput"><a class="link" href="../boost/algorithm/nth_finder.html" title="Function nth_finder">nth_finder()</a></code>
</td>
</tr>
<tr>
<td align="left">head_finder</td>
<td align="left">Retrieve the head of an input</td>
<td align="left">
<code class="computeroutput"><a class="link" href="../boost/algorithm/head_finder.html" title="Function head_finder">head_finder()</a></code>
</td>
</tr>
<tr>
<td align="left">tail_finder</td>
<td align="left">Retrieve the tail of an input</td>
<td align="left">
<code class="computeroutput"><a class="link" href="../boost/algorithm/tail_finder.html" title="Function tail_finder">tail_finder()</a></code>
</td>
</tr>
<tr>
<td align="left">token_finder</td>
<td align="left">Search for a matching token in an input</td>
<td align="left">
<code class="computeroutput"><a class="link" href="../boost/algorithm/token_finder.html" title="Function template token_finder">token_finder()</a></code>
</td>
</tr>
<tr>
<td align="left">range_finder</td>
<td align="left">Do no search, always returns the given range</td>
<td align="left">
<code class="computeroutput"><a class="link" href="../boost/algorithm/range_finder.html" title="Function range_finder">range_finder()</a></code>
</td>
</tr>
<tr>
<td align="left">regex_finder</td>
<td align="left">Search for a substring matching the given regex</td>
<td align="left">
<code class="computeroutput"><a class="link" href="../boost/algorithm/regex_finder.html" title="Function template regex_finder">regex_finder()</a></code>
</td>
</tr>
</tbody>
</table></div>
</div>
<br class="table-break"><div class="table">
<a name="id-1.3.3.6.3.3"></a><p class="title"><b>Table 2.9. Formatters</b></p>
<div class="table-contents"><table class="table" summary="Formatters">
<colgroup>
<col>
<col>
<col>
</colgroup>
<thead><tr>
<th align="left">Formatter</th>
<th align="left">Description</th>
<th align="left">Generators</th>
</tr></thead>
<tbody>
<tr>
<td align="left">const_formatter</td>
<td align="left">Constant formatter. Always return the specified string</td>
<td align="left">
<code class="computeroutput"><a class="link" href="../boost/algorithm/const_formatter.html" title="Function template const_formatter">const_formatter()</a></code>
</td>
</tr>
<tr>
<td align="left">identity_formatter</td>
<td align="left">Identity formatter. Return unmodified input input</td>
<td align="left">
<code class="computeroutput"><a class="link" href="../boost/algorithm/identity_formatter.html" title="Function template identity_formatter">identity_formatter()</a></code>
</td>
</tr>
<tr>
<td align="left">empty_formatter</td>
<td align="left">Null formatter. Always return an empty string</td>
<td align="left">
<code class="computeroutput"><a class="link" href="../boost/algorithm/empty_formatter.html" title="Function template empty_formatter">empty_formatter()</a></code>
</td>
</tr>
<tr>
<td align="left">regex_formatter</td>
<td align="left">Regex formatter. Format regex match using the specification in the format string</td>
<td align="left">
<code class="computeroutput"><a class="link" href="../boost/algorithm/regex_formatter.html" title="Function template regex_formatter">regex_formatter()</a></code>
</td>
</tr>
</tbody>
</table></div>
</div>
<br class="table-break">
</div>
<div class="section">
<div class="titlepage"><div><div><h3 class="title">
<a name="id-1.3.3.6.4"></a>Iterators</h3></div></div></div>
<div class="table">
<a name="id-1.3.3.6.4.2"></a><p class="title"><b>Table 2.10. Find Iterators</b></p>
<div class="table-contents"><table class="table" summary="Find Iterators">
<colgroup>
<col>
<col>
<col>
</colgroup>
<thead><tr>
<th align="left">Iterator name</th>
<th align="left">Description</th>
<th align="left">Iterator class</th>
</tr></thead>
<tbody>
<tr>
<td align="left">find_iterator</td>
<td align="left">Iterates through matching substrings in the input</td>
<td align="left">
<code class="computeroutput"><a class="link" href="../boost/algorithm/find_iterator.html" title="Class template find_iterator">find_iterator</a></code>
</td>
</tr>
<tr>
<td align="left">split_iterator</td>
<td align="left">Iterates through gaps between matching substrings in the input</td>
<td align="left">
<code class="computeroutput"><a class="link" href="../boost/algorithm/split_iterator.html" title="Class template split_iterator">split_iterator</a></code>
</td>
</tr>
</tbody>
</table></div>
</div>
<br class="table-break">
</div>
<div class="section">
<div class="titlepage"><div><div><h3 class="title">
<a name="id-1.3.3.6.5"></a>Classification</h3></div></div></div>
<div class="table">
<a name="id-1.3.3.6.5.2"></a><p class="title"><b>Table 2.11. Predicates</b></p>
<div class="table-contents"><table class="table" summary="Predicates">
<colgroup>
<col>
<col>
<col>
</colgroup>
<thead><tr>
<th align="left">Predicate name</th>
<th align="left">Description</th>
<th align="left">Generator</th>
</tr></thead>
<tbody>
<tr>
<td align="left">is_classified</td>
<td align="left">Generic <code class="computeroutput">ctype</code> mask based classification</td>
<td align="left">
<code class="computeroutput"><a class="link" href="../boost/algorithm/is_classified.html" title="Function is_classified">is_classified()</a></code>
</td>
</tr>
<tr>
<td align="left">is_space</td>
<td align="left">Recognize spaces</td>
<td align="left">
<code class="computeroutput"><a class="link" href="../boost/algorithm/is_space.html" title="Function is_space">is_space()</a></code>
</td>
</tr>
<tr>
<td align="left">is_alnum</td>
<td align="left">Recognize alphanumeric characters</td>
<td align="left">
<code class="computeroutput"><a class="link" href="../boost/algorithm/is_alnum.html" title="Function is_alnum">is_alnum()</a></code>
</td>
</tr>
<tr>
<td align="left">is_alpha</td>
<td align="left">Recognize letters</td>
<td align="left">
<code class="computeroutput"><a class="link" href="../boost/algorithm/is_alpha.html" title="Function is_alpha">is_alpha()</a></code>
</td>
</tr>
<tr>
<td align="left">is_cntrl</td>
<td align="left">Recognize control characters</td>
<td align="left">
<code class="computeroutput"><a class="link" href="../boost/algorithm/is_cntrl.html" title="Function is_cntrl">is_cntrl()</a></code>
</td>
</tr>
<tr>
<td align="left">is_digit</td>
<td align="left">Recognize decimal digits</td>
<td align="left">
<code class="computeroutput"><a class="link" href="../boost/algorithm/is_digit.html" title="Function is_digit">is_digit()</a></code>
</td>
</tr>
<tr>
<td align="left">is_graph</td>
<td align="left">Recognize graphical characters</td>
<td align="left">
<code class="computeroutput"><a class="link" href="../boost/algorithm/is_graph.html" title="Function is_graph">is_graph()</a></code>
</td>
</tr>
<tr>
<td align="left">is_lower</td>
<td align="left">Recognize lower case characters</td>
<td align="left">
<code class="computeroutput"><a class="link" href="../boost/algorithm/is_lower.html" title="Function is_lower">is_lower()</a></code>
</td>
</tr>
<tr>
<td align="left">is_print</td>
<td align="left">Recognize printable characters</td>
<td align="left">
<code class="computeroutput"><a class="link" href="../boost/algorithm/is_print.html" title="Function is_print">is_print()</a></code>
</td>
</tr>
<tr>
<td align="left">is_punct</td>
<td align="left">Recognize punctuation characters</td>
<td align="left">
<code class="computeroutput"><a class="link" href="../boost/algorithm/is_punct.html" title="Function is_punct">is_punct()</a></code>
</td>
</tr>
<tr>
<td align="left">is_upper</td>
<td align="left">Recognize uppercase characters</td>
<td align="left">
<code class="computeroutput"><a class="link" href="../boost/algorithm/is_upper.html" title="Function is_upper">is_upper()</a></code>
</td>
</tr>
<tr>
<td align="left">is_xdigit</td>
<td align="left">Recognize hexadecimal digits</td>
<td align="left">
<code class="computeroutput"><a class="link" href="../boost/algorithm/is_xdigit.html" title="Function is_xdigit">is_xdigit()</a></code>
</td>
</tr>
<tr>
<td align="left">is_any_of</td>
<td align="left">Recognize any of a sequence of characters</td>
<td align="left">
<code class="computeroutput"><a class="link" href="../boost/algorithm/is_any_of.html" title="Function template is_any_of">is_any_of()</a></code>
</td>
</tr>
<tr>
<td align="left">is_from_range</td>
<td align="left">Recognize characters inside a min..max range</td>
<td align="left">
<code class="computeroutput"><a class="link" href="../boost/algorithm/is_from_range.html" title="Function template is_from_range">is_from_range()</a></code>
</td>
</tr>
</tbody>
</table></div>
</div>
<br class="table-break">
</div>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2002-2004 Pavol Droba<p>Use, modification and distribution is subject to the Boost
Software License, Version 1.0. (See accompanying file
<code class="filename">LICENSE_1_0.txt</code> or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
</p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="usage.html"><img src="../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../string_algo.html"><img src="../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="design.html"><img src="../../../doc/src/images/next.png" alt="Next"></a>
</div>
</body>
</html>