Re: loking for a item in string?
| From: | Greg Donald | Date: | Sun, 07 Nov 2004 14:32:53 +0000 |
| Subject: | Re: loking for a item in string? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-201426@lists.php.net to get a copy of this message | ||
On Sat, 6 Nov 2004 21:58:49 -0600, Dustin Wish with INDCO Networks
<dwish@indco.net> wrote:
> I am opening a file and then have to look for a value inside the string. Is
> there an easy way to do this?
>
> I need the value in this string for the var djLast = '45.119999';
preg_match() can do that.
php.net/preg_match
--
Greg Donald
Zend Certified Engineer
http://gdconsultants.com/
http://destiney.com/