tlx
pad.hpp File Reference
#include <string>

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...