Book Image

Learning Boost C++ Libraries

By : Arindam Mukherjee
Book Image

Learning Boost C++ Libraries

By: Arindam Mukherjee

Overview of this book

Table of Contents (19 chapters)
Learning Boost C++ Libraries
About the Author
About the Reviewers

Chapter 4. Working with Strings

Text data is the most important and pervasive form of data that modern applications deal with. The ability to process text data efficiently through intuitive abstractions is a key marker of effectiveness in dealing with text data. Boost has a number of libraries dedicated toward effective text processing that enhance and extend the capabilities provided by the C++ Standard Library.

In this chapter, we will look at three key Boost libraries for processing text data. We will start with the Boost String Algorithms library, a library of general-purpose algorithms for text data that provides a host of easy text operations, often missed in the Standard Library. We will then look at the Boost Tokenizer library, an extensible framework for tokenizing string data based on various criteria. Thereafter, we will examine a regular expression library for searching and parsing strings, Boost.Regex, which has been included in the C++11 standard as well. The following topics...