Boost String Algorithm Library

Convert First Letter of each word of a String to Upper Case in C++

In this article we will discuss different ways to convert first letter of each word to upper case in a a given string i.e. Using STL algorithm Using Boost Filtered Iterator & Range Converting First Letter to Upper Case using STL Algorithm Used: Iterate over the characters in given string For each character check –

Convert First Letter of each word of a String to Upper Case in C++ Read More »

How to trim strings in C++ using Boost String Algorithm Library

In this tutorial we will discuss how to use trim algorithms from C++ Boost String Algorithm Library. Let’s learn them step by step, Boost String algorithm library provides different algorithms for string trimmings. Let’s first discuss the simple one i.e, What if we want to trim the string of white spaces from left side or

How to trim strings in C++ using Boost String Algorithm Library Read More »

Scroll to Top