loking for a item in string?
| From: | Dustin Wish with INDCO Networks | Date: | Sun, 07 Nov 2004 03:58:49 +0000 |
| Subject: | loking for a item in string? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-201390@lists.php.net to get a copy of this message | ||
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