0

The Red Fox jumped over the Lazy Dog
Could be translated to:
The%20Red%20Fox%20jumped%20over%20the%20Lazy%Dog
How to translate it to:
The_Red_Fox_jumped_over_the_Lazy_Dog?

To make it more eye friendly.

Edited by RikTelner

4
Contributors
4
Replies
14
Views
3 Years
Discussion Span
Last Post by CreatorZeus
0

try this function from algorithm header.

string s = SOME_STR;
replace( s.begin(), s.end(), 'x', 'y');
This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.