What's a quick and real neat way of....
Enkidu
enkidu at cliffp.com
Tue Nov 5 21:59:25 CST 2002
.....extracting the abcd and the string "This is abcd" from the
following:
$var = "blah/blah/blah/abcd.jpg, This is abcd" ;
What I've come up with so far is:
$var = /.*\/(.*).jpg,(.*)$/ ;
Of course, I'm going to try it out when I get a chance, but what are
my chances of success? abcd varies as does the string.
Cheers,
Clif
--
The Nats held a Party and no one came.
More information about the Wellington-pm
mailing list