How about ListDeleteAt(MyList, ListLen(MyList, MyDelim), MyDelim) ?? ----- Original Message ----- From: "Jon Hall" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Friday, June 21, 2002 6:50 AM Subject: remove from last occurence of char?
> I have an interesting problem, I need to remove the last part of a string > from the last occcurance of a character. The only solution I can think of is > to reverse the string, do a find for the first occurance, remove the part, > then reverse it back (I've coded this)...it just seems like there should be > a better way. Any ideas? > > jon > > ______________________________________________________________________ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists