Boost logo

Boost Users :

From: Max (LoadCom_at_[hidden])
Date: 2008-04-02 02:41:30


Hello,

I want to translate a list of id's into a compact string of list, e.g.

from: 1,2,3,4,5,8,9,10,100 (of int type)
to: "1:5,8:10,100"

Yes, it's not a tough task to do it from scrath, but I think there should
be an elegant way using boost components.

Thanks for any helps otr hints.

B/Rgds
Max


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