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. :-)

-- Brett
                                          http://www.chapelperilous.net/
------------------------------------------------------------------------
I'm meditating on the FORMALDEHYDE and the ASBESTOS leaking into my
PERSONAL SPACE!!


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to