Thrill  0.1
word_wrap.cpp File Reference
#include <tlx/string/word_wrap.hpp>
#include <cctype>
+ Include dependency graph for word_wrap.cpp:

Go to the source code of this file.

Namespaces

 tlx
 

Functions

bool is_space (char ch)
 
std::string word_wrap (const std::string &str, unsigned int wrap=80)
 Try to wrap a string to 80 columns without split words. More...