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

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