I have to replace 2 double-quotes with 1 double-quote.
But I want it to be forward only, so if there are 4 double-quote, I want 2 double-quotes back.
string.replace() will give only 1 double-quote back, since it starts over from 0th index to search for 2 double-quotes again.
Any suggestions?
Am I missing the point? I ask because the simple
just output
and
just output
on my console. Please show us what you already have, the output it is producing, and the output as you want it because as I read your question, the above is fulfilling your request.