in reply to Re: split string and always get last word
in thread split string and always get last word
my $string = "/alex/samsung/t2"; $string =~ m/(.+)\/(.+)$/; print "$1, $2";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: split string and always get last word
by matze (Friar) on Mar 02, 2006 at 11:40 UTC |