Use boost::algorithm::trim_copy