Function cif::word_wrap
Defined in File text.hpp
Function Documentation
-
std::vector<std::string> cif::word_wrap(const std::string &text, size_t width)
custom word wrapping routine.
Wrap the text in text based on a maximum line width width using a dynamic programming approach to get the most efficient filling of the space.