As this just a exercise question
just want to get some understanding
Create a template of function and how to use this replace and erase in string
this this replace and erase in string is what mean?
mind someone help explain?
sorry . just make own revision . yeah i get it.
is when i copy the question i type wrong.
it's just normal template function.
then second question is clal us to learn str.erase and str.replace like that .
sorry for my typo mistake.