Hi,
I have a situation and not sure how to do it. Normally when I want to replace something, I just use ereg_replace(). However this situation is different:
I have a string called: $my_string
In that string is the page from a book. Let's say I want to replace the word "is" with the word "for" BUT I only want to do this for the first occurance only. How would I do that?
Thanks