in reply to dir / file split
(update: Explanation: the second means: one or more of everything but a slash up to the end of the string.)$file_path =~ /(.*)\/([^/]+)$/;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: dir / file split
by oha (Friar) on Sep 28, 2007 at 13:26 UTC | |
|
Re^2: dir / file split
by camelcom (Sexton) on Sep 28, 2007 at 13:17 UTC |