Removing script name

From: Date: Mon, 16 Oct 2000 19:37:30 +0000
Subject: Removing script name
Groups: php.general 
Request: Send a blank email to php-general+get-20441@lists.php.net to get a copy of this message
If I have C:\MyDir\MyFile.txt, how can I remove the "MyFile.Txt" so that I have "C:\MyDir\" remaining. I have never mastered the pattern matching in Perl!! Many thanks........ Todd -- Todd Cary Ariste Software todd@aristesoftware.com

« previous php.general (#20441) next »