From:             nigel dot pepper at certegy dot com
Operating system: Windows 2000
PHP version:      4.3.1
PHP Bug Type:     *General Issues
Bug description:  Feature request: Positions of occurences of substrings

I've had to write my own function to do what I'd like but feel it would be
a useful addition to the PHP set.

I needed to extract the positions of all occurences of a tag <pc> in a
variable but was unable to find a suitable function.

I'm doing this in order to selectively apply the function ucfirst() to a
variable's content.

Advice would be much appreciated if there is a function which will do this
for me.

Cheers, Nigel :)
-- 
Edit bug report at http://bugs.php.net/?id=23986&edit=1
-- 
Try a CVS snapshot:         http://bugs.php.net/fix.php?id=23986&r=trysnapshot
Fixed in CVS:               http://bugs.php.net/fix.php?id=23986&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=23986&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=23986&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=23986&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=23986&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=23986&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=23986&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=23986&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=23986&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=23986&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=23986&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=23986&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=23986&r=gnused

Reply via email to