Simple C++ utility. Pads a string (a std::basic_string<...>) from the left.
#include <left_pad/left_pad.hpp>
...
string text= "Some text";
cout<< left_pad(text, 20)<< endl;
Expected output:
Some text.
Released under GNU LGPL, see LICENSE.