We are committed to provide service 24 X 7

Deals, Shopping, Training, Tools

Category: Boost String Algorithm Library

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 LibraryRead More

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

C++ : Check if a String starts with an another given String

In this article we will discuss both case sensitive and insensitive implementations to check if a string starts with an another given string. In c++, std::string class does not provides any startsWith() function to check if a string starts with an another given string. Let’s see how to do that using std::string::find and Boost Library. Advertisements …

C++ : Check if a String starts with an another given StringRead More

Cart

Your Cart is Empty

Back To Shop