Boost logo

Boost Users :

Subject: [Boost-users] [Q] string alg to remove spaces
From: V S P (toreason_at_[hidden])
Date: 2009-03-27 01:50:52

Looking at string algorithms
and cannot figure what combination of them I need to

remove all, but one spaces between words in a string
so that
"1 2 3" becomes "1 2 3"

if there is a 'collection' of snippets for string alg,
please let me know
(I actually like that PHP has zillion of functions on strings, instead
of having users to figure out the clever uses of 2 or 3 function for
like in PERL)

thanks in advance,

  V S P
-- - IMAP accessible web-mail

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at