> Let's say that I'm given \\Server\Pathname as a text. How would I extract > "\\Server" from this and store it to a variable $server?
$str = '\\server\path'; (undef, $server, $path) = split (/\\/, $str); print 'Server=', $server, ' Path=', $path; Johannes _______________________________________________ Perl-Win32-Admin mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
