Answers for "replace a character with nothing in cpp stl"

C++
1

replace a char in string c++ at a specific index

string a = "lol";
	a[2] = 'j';
	cout << a;
//output: loj
Posted by: Guest on August-06-2020

Code answers related to "replace a character with nothing in cpp stl"

Browse Popular Code Answers by Language