Quote:
Originally Posted by remotay
...
Some googling led me to find this piece of code 'function str_replace_once' but I need it as istr_replace_once which apparently doesn't exist :[. Even if it did work though I'm not sure if it would work the way I need it to work?
...
Also, Lynne I would certainly donate something like $5 for your time :P, especially now that this got a tad bit more complicated.
|
Try putting MEEPO in your $word array, and within the str_replace_once, wrap a strtoupper function around the $word parameter.
This way, regardless of case in the post, it will always evaluate to the fully capitalized word stored in your array.
HTH.
Peter