Leif K-Brooks wrote:
> I need a way to make a string be replaced with its uppercase version
> using ereg_replace. Any ideas?
> Chris Shiflett wrote:
>> Why must you use ereg_replace?
>> Does your question mean that you, for whatever reason, cannot use
>> strtoupper() instead?
>> Leif K-Brooks wrote:
>>> I don't want the entire string upercase, just part of it as defined
>>> by a regex.
Then use preg_replace. The PHP website has an example to uppercase a part of
a string using preg_replace(http://www.php.net/preg_replace).
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php