On Tue, 25 Sep 2001, John Edwards wrote:
> $data = "thisisa$biglongstring$ofdata";
>
> ($found) = $data =~ /\$(.*)\$/;
>
> print $found;
>
> Like that? It will find and print and characters between the two dollar
> signs in the first string.
For that example, you could use split also. :-)
-- Br
$data = "thisisa$biglongstring$ofdata";
($found) = $data =~ /\$(.*)\$/;
print $found;
Like that? It will find and print and characters between the two dollar
signs in the first string.
You need to explain more clearly what you are trying to do, what data you
are working with and give an exampl
Regular expression, unpack(); depends on exactly what you want to do... Can
you be more specific, or give an example?
_J
COLLINEAU Franck FTRD/