Hello, I'm new to C++ programming, but I have 4 years of Visual Basic programming, and I know a couple of languages. I was wondering if there was a function already made that resembles the VB function, Replace. I have done google searching for 2 hours now and I can't seem to find one.

The VB command looks like this:
Replace((string)String, (string)WhatToReplace, (string)ReplaceWithThis)

I am using an array of characters, not an actual string by the way.

I also tried to write my own function to do this and failed three times.

Any help would be appreciated.

Thanks,

Fox