Replace all subFrom with subTo within src.
00208 {
00209 String::size_type subFromSize = subFrom.size();
00210 String::size_type subToSize = subTo.size();
00211 String::size_type start = src.find(subFrom);
00212 while (start != String::npos)
00213 {
00214 src = src.replace(start, subFromSize, subTo);
00215 start = src.find(subFrom, recursive ? 0 : start + subToSize);
00216 }
00217 return src;
00218 }