I\'m trying to figure out how to accomplish the following. Basically, I want to do a str_replace() but only at the Nth occurrence. Any ideas?
//Inputs $origin