I'd rather suggest using strpos(), seen as it's quite a bit faster than using a regular expression engine (especially when you don't need one)

Greg Donald wrote:
On Sat, 6 Nov 2004 21:58:49 -0600, Dustin Wish with INDCO Networks
<[EMAIL PROTECTED]> 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



-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to