×
BLUE
C++ strings function replace()


C++ strings function replace()
  11 May 2021
Read more Like this Post.
function replace used for replace the strings. this function take 3 paramaters.
first paramater is a index number of the letter which replace() function start the replacement second paramater is a number to replace how many letters to replace.
third paramter is characters which is replacement strings. the output of the code is ("Hello to JOZEBoy"); we remove the last word using replace function.
replace function used for replace some string into strings. string class take char is an array replace function only replace the string from index number of char to the limit. more on example.
Related Post's

cpp   strings   replace function  
Not Loaded Zohaib Jozvi
0 11 May 2021
Read Latest Post.
Read other post.