Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
\\Srvbuild\e\ADW61\VENDOR\MICROSOFT\PLATFORMSDK\INCLUDE I want to split it at the first single '\' ie: \\Srvbuild\e \ADW61\VENDOR\MICROSOFT\PLATFORMSDK\INCLUDE current code: my ($network, $path) = split /^\\/, $include;
Edited by mirod 2002-06-07: changed the title (was: split) so it would not clash with a Perl keyword
|
---|
Replies are listed 'Best First'. | |
---|---|
(MeowChow) Re: split
by MeowChow (Vicar) on Jun 07, 2002 at 12:58 UTC | |
by c-era (Curate) on Jun 07, 2002 at 13:14 UTC | |
Re: split
by c-era (Curate) on Jun 07, 2002 at 13:03 UTC | |
Re: split
by broquaint (Abbot) on Jun 07, 2002 at 13:04 UTC | |
by Anonymous Monk on Jun 07, 2002 at 13:13 UTC | |
Re: split
by grinder (Bishop) on Jun 07, 2002 at 12:56 UTC |