Summary
In this chapter, we learned the use of miscellaneous functions from the Boost String Algorithms library for performing various operations on string data types. We then looked at the generic Boost String Tokenizer framework that provides an efficient and extensible way to tokenize strings based on criteria that the user can define. We finally looked at regular expressions, and the Boost.Regex library that provides the ability to match character data against regular expressions, search for patterns, tokenize, and replace patterns using regular expressions.
This chapter should have given you a broad perspective of basic text handling facilities available from the Boost libraries. Along the way, we also picked up some useful techniques from ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access