Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

c++ trim string

#include <boost/algorithm/string.hpp>

std::string str("hello world! ");
boost::trim_right(str);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #trim #string
ADD COMMENT
Topic
Name
7+5 =