$arr = array_filter ( $arr, create_function('$a','return strlen($a) > 3'));idiot_from_sun <[EMAIL PROTECTED]> wrote:How to remove values from an array which has values less then 3 chrs. And rearrange it. Eg., Array ( [0] => an [1] => a [2] => and [3] => more [4] => or [5] => less [6] => equal [7] => plus [8] => pause [9] => stop [10] => if [11] => for ) i want to remove [0] => an [1] => a [2] => and [4] => or [10] => if [11] => for rearrange the array keys Array ( [0] => more [1] => less [2] => equal ...... Thnx Community email addresses: Post message: [email protected] Subscribe: [EMAIL PROTECTED] Unsubscribe: [EMAIL PROTECTED] List owner: [EMAIL PROTECTED] Shortcut URL to this page: http://groups.yahoo.com/group/php-list SPONSORED LINKS Job postings --------------------------------- YAHOO! GROUPS LINKS Visit your group "php-list" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. --------------------------------- --------------------------------- Yahoo! FareChase - Search multiple travel sites in one click. [Non-text portions of this message have been removed] ------------------------ Yahoo! Groups Sponsor --------------------~--> Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life. http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/HKFolB/TM --------------------------------------------------------------------~-> Community email addresses: Post message: [email protected] Subscribe: [EMAIL PROTECTED] Unsubscribe: [EMAIL PROTECTED] List owner: [EMAIL PROTECTED] Shortcut URL to this page: http://groups.yahoo.com/group/php-list Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/php-list/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
