Re: function that extracts numbers from a string

From: Date: Fri, 22 Feb 2002 11:55:48 +0000
Subject: Re: function that extracts numbers from a string
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-85839@lists.php.net to get a copy of this message
Try with preg_match_all() PCRE functions are up to 25% faster than POSIX(ereg). Best regards, Andrey Hristov ----- Original Message ----- From: "DigitalKoala" <annazaraah@yahoo.com> To: <php-general@lists.php.net> Sent: Friday, February 22, 2002 1:44 PM Subject: [PHP] function that extracts numbers from a string > Hi folks, > > Is there a function that extracts numbers from a string? > > I can do this with ereg but it's quite slow when you have a long list of > variables to get through... > > thanks! > > dk > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > >

« previous php.general (#85839) next »