it's preg_match_all
Am Dienstag, 13. April 2004 15:05 schrieb Brent Clark:
> Hi All
> I have asked this question before, and the solution was partyly solved, I
> hope hope someone can help me again.
>
> I have a binary file ( readbar ) that I execute with exec().
> and it give me an output as so:
[snip]
Hi
I dont think so.
This is basically one file read, that outputs many results.
with a carriage return at the end
So every line begins with Code39
I did a gettype() and I got a result of string.
[/snip]
If each line begins with Code39-> and looks like
Code39->10301535
$theBarCode = subst
[snip]
Key1 is 4 barcodes found
Code 39->10301535
Code 39->10301536
Code 39->10301537
Code 39->10301538
[/snip]
wouldn't substr work? http://www.php.net/substr
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi All
I have asked this question before, and the solution was partyly solved, I hope hope
someone can help me again.
I have a binary file ( readbar ) that I execute with exec().
and it give me an output as so:
readbar file
Key1 is 4 barcodes found
Code 39->10301535
Code 39->10301536
Code 39->1
4 matches
Mail list logo