|
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
everything
like in PERL)
thanks in advance,
Vlad
-- V S P toreason_at_[hidden] -- http://www.fastmail.fm - IMAP accessible web-mail
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net