ibeblunt
Wed 26th May '04, 5:59pm
How do I replace the x instance of a group of characters in a string?
For example.
<p>Paragraph 1.</p>
<p>Paragraph 2.</p>
<p>Paragraph 3.</p>
<p>Paragraph 4.</p>
I'd like to replace the 2nd occurance of the </p> with something else. How would I do that?
For example.
<p>Paragraph 1.</p>
<p>Paragraph 2.</p>
<p>Paragraph 3.</p>
<p>Paragraph 4.</p>
I'd like to replace the 2nd occurance of the </p> with something else. How would I do that?