Hi,

I would like to split the following line into two strings. The length or 
contents of the string can vary depending on the directory structure. 
Basically, I need to extract the directory path into one variable and the 
filename in another.

Example:

<cfoutput>URL.filename</cfoutput> in my template generates the line below.

D:\books\aosl\act_text.dat

I need to extract the above into two variables.

var1 = D:\books\aosl
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to