Boost logo

Boost Users :

Subject: [Boost-users] [string_algo] replace string with tokens
From: Michael Schuster (schuster_at_[hidden])
Date: 2009-05-31 04:15:22

I'm new to string_algo and have the following problem:

I have string like


and want to replace a by a different string e.g. Alpha and b by Beta and sin
by cos so that


is the result.

So tokens would be "+*()"

The replace command works with spaces, but I think this should be possible
with string_algo, too?

Thanks for any hint

Michael Schuster

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