$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: Bruno Lalande (bruno.lalande_at_[hidden])
Date: 2008-06-05 04:42:39
How about:
#include <boost/algorithm/string.hpp>
boost::algorithm::replace_all(str, "abc", "abc$$$");
(or replace_first if you'll never have more than one occurrence of abc)
Bruno