string replace « String « C++






1.string.replace()
2.string.replace( position, 2, '12345;;123', 5, 2 )
3.Replace all spaces with period
4.Demonstrate insert(), erase(), and replace().Demonstrate insert(), erase(), and replace().