That returns the full physical path of the template.  Sorry!

--------------------------------------------------------------
Mark Warrick
Phone: (714) 547-5386
Efax.com Fax: (801) 730-7289
Personal Email: [EMAIL PROTECTED]
Personal URL: http://www.warrick.net 
Business Email: [EMAIL PROTECTED]
Business URL: http://www.fusioneers.com
ICQ: 346566
--------------------------------------------------------------


> -----Original Message-----
> From: John Sheehan [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, September 07, 2000 7:34 AM
> To: [EMAIL PROTECTED]
> Subject: RE: replace
> 
> 
> Try the following
> 
> #GetDirectoryFromPath(CF_TEMPLATE_PATH)#filename.cfm
> 
> Regards
> 
> John Sheehan
> 
> > -----Original Message-----
> > From: Mark Warrick [mailto:[EMAIL PROTECTED]]
> > Sent: 07 September 2000 14:57
> > To: CF-Talk List
> > Subject: replace
> >
> >
> > Given the following string:
> >
> > /directoryname/subdirectoryname/filename.cfm
> >
> > How could I return only the following?
> >
> > /directoryname/subdirectoryname
> >
> > Forgive me if this is obvious in the CF Docs.  My brain is slow
> > this morning.
> >
> > ---mark
> >
> > --------------------------------------------------------------
> > Mark Warrick
> > Phone: (714) 547-5386
> > Efax.com Fax: (801) 730-7289
> > Personal Email: [EMAIL PROTECTED]
> > Personal URL: http://www.warrick.net
> > Business Email: [EMAIL PROTECTED]
> > Business URL: http://www.fusioneers.com
> > ICQ: 346566
> > --------------------------------------------------------------
> >
> > ------------------------------------------------------------------
> > ------------
> > Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
> > To Unsubscribe visit
> > http://www.houseoffusion.com/index.cfm?sidebar=sts&body=sts/cf_tal
> k or send a message to [EMAIL PROTECTED] with 
> 'unsubscribe'
> in the body.
> 
> ------------------------------------------------------------------
> ------------
> Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
> To Unsubscribe visit 
> http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf
_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the 
body.

------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebarRsts&bodyRsts/cf_talk or send a message 
to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to