GetDirectoryFromPath() Will probably do it...
HTH -----Original Message----- From: Bushy [mailto:[EMAIL PROTECTED] Sent: Monday, September 22, 2003 16:55 To: CF-Talk Subject: re: Stripping and replacing last "\" from a variable Hi, Whats the easist way to strip the last "\" from var1 and insert a "," (comma)? var 1 = d:\temp\mywork\ Results: d:\temp\mywork, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Message: http://www.houseoffusion.com/lists.cfm?link=i:4:137953 Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Get the mailserver that powers this list at http://www.coolfusion.com

