tlx
pad.cpp File Reference
#include <tlx/string/pad.hpp>

Go to the source code of this file.

Namespaces

 tlx
 

Functions

std::string pad (const std::string &s, size_t len, char pad_char= ' ')
 Truncate or pad string to exactly len characters. More...