in reply to How can i get a substring from a String?
my ($qname = "_sip._udp.www.google.com") =~ s/(.*\.)(www.*)/; ($qname, my $qname1) = ($1, $2);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: How can i get a substring from a String?
by ww (Archbishop) on Oct 16, 2008 at 12:06 UTC | |
by Bloodnok (Vicar) on Oct 16, 2008 at 14:33 UTC |