$_ = q(\\server\share//folder/subfolder); my($rootdir,$userdir)= split m[\Q//\E]; print join "\n", ($rootdir,$userdir),"\n";
In reply to Re: Split by "//"
by artist
in thread Split by "//"
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |