On Thu, 2003-06-26 at 16:58, Mark Joslyn wrote: > I am having the hardest time writing a string manipulation that will take > the following: > > Directory_One/Directory_Two/FileName1.zip > > or > > Directory_One/Filename1.zip dirname($var).'/' to get the dirname with trailing slash. basename($var) to get the filename. Ari