It works and finally returns the right string :-) ..:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com
-----Original Message----- From: Jim Priest [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 25, 2006 4:40 PM To: CF-Talk Subject: Re: coupons inc script - convert VB to CF UDF > From: Robert Everland III <[EMAIL PROTECTED]> > I have corrected your function, I added in some vars. The mod was definitely going to be an issue, so I just added 1 to it, you were also using the variable m in there and m wasn't used anywhere so I changed that to i, enjoy. Robert (and everyone else) Thanks for the help - I'll try this out tonight when I get home but the +1 on the mod was a great idea! Jim ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:238867 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

