Return to Snippet

Revision: 68641
at February 2, 2015 13:46 by dongwonkwak


Initial Code
#include <boost/range/algorithm/remove_if.hpp>

std::string str;
tmp.erase (boost:: remove_if(str , :: iscntrl), str.end ());

Initial URL


Initial Description
remove all control characters in string

Initial Title
remove control characters

Initial Tags
c++

Initial Language
C++