Subject: [Boost-bugs] [Boost C++ Libraries] #1808: Trim middle
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2008-04-10 12:55:28
#1808: Trim middle
-------------------------------+--------------------------------------------
Reporter: Olaf van der Spek | Owner: pavol_droba
Type: Feature Requests | Status: new
Milestone: Boost 1.36.0 | Component: string_algo
Version: Boost 1.35.0 | Severity: Problem
Keywords: |
-------------------------------+--------------------------------------------
Could you add a function to trim 'internal' whitespace? I think two
functions would be handy, one for single-line data and one for multi-line
data.
The single-line one would replace all internal whitespace by a single
space character.
The multi-line one would replace multiple empty lines by a single empty
line and remove trailing whitespace from each line.
--
Ticket URL: <http://svn.boost.org/trac/boost/ticket/1808>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:49:57 UTC