Thanks.  I like that even better than the one I came up with:

Replace(path_info, ListLast(path_info, "/"), "", "ALL")

And the reason I like it better is that it removes the final "/" whereas my script 
didn't.

---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
--------------------------------------------------------------


> -----Original Message-----
> From: Ed Toon [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, September 07, 2000 7:29 AM
> To: [EMAIL PROTECTED]
> Subject: RE: replace
> 
> 
> This should work...
> 
> #IIF(ListLen(x, '/') GT 1, DE(ListDeleteAt(x, listlen(x,  "/"), '/')),
> DE('/'))#
> 
> G'mornin. ;)
> Ed
> 
> ------------------------------------------------------------------
> ------------
> Archives: http://www.mail-archive.com/[email protected]/
> 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/[email protected]/
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