how to use replace_range_copy()

I study boost library,I don't know how to use the function
1
2
std::string str;
boost::algorithm::replace_range_copy(str,str,??,??  how to pass this parameter);

who can give an example for me? I am waiting online.
str is the string variable (which is defined in std namespace)

i don't know about algorithm function but you can find it in here:
http://www.cplusplus.com/algorithm
Topic archived. No new replies allowed.