lua-users home
lua-l archive

Re[2]: Function to parse filespec

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Hello steve,
Wednesday, May 27, 2009, 3:02:32 PM, you wrote:
> -- do we have an extension? If so, remove it
> local ie = path:find('%.[^%.]+$') or #path+1
path should be removed *before* extension:
/dir.ext/name
-- 
Best regards,
 Bulat mailto:Bulat.Ziganshin@gmail.com

AltStyle によって変換されたページ (->オリジナル) /