loking for a item in string?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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';

 

<script Language=javascript
src="/DJCom/Includes/JavaScript/PortalStyle/bDetection.js"></script>

<SCRIPT Language="JavaScript">
// Prepare DJ Quote data
	var djLast = '45.119999';
	var djChange = '0.40';
	var djOpen = '44.639999';
	var djClose = '44.720001';
	var djVolume = '195700';
	var djDividend = '0.25';
	var djHigh = '45.23';
	var djLow = '44.549999';
	var djYrHigh = '52.799999';
	var djYrLow = '39.50'; 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.788 / Virus Database: 533 - Release Date: 11/1/2004
 

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux