From:             [EMAIL PROTECTED]
Operating system: all
PHP version:      4.2.3
PHP Bug Type:     Feature/Change Request
Bug description:  suggestion for a new function


Hi,
I was just in the #php irc channel and I asked 'how to strip all non-text
characters from a string'
and two minutes later another guy comes in and asks the same q',

there is 'trim()' but it only does starts and ends,

there is a function in unix that is called 'strings' that does approx
this,

can you look into it do you think,

and if you do, maybe make it so it can be used the other way around too
(strip all text),

maybe call it 'strip_notext' or so

thanks,

Re


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

Reply via email to