#string

Posts tagged with "string"

Trim Strings in C++ with Boost

One of the biggest grievances I had when I started writing a lot of C++ code was that things we take for granted as built-in in other languages are harder to do right in C++. For simple string manipulation, there is boost.

C++ code with string manipulation and data structures

Split Strings in C++ With Boost

I just wrote about how to trim strings with boost, and the code where I first needed to trim was actually a very simple naive parser where strings of key value pairs would be split and then each part trimmed.