I\'m trying to make a simple string manipulation: getting the a file\'s name, without the extension. Only, string.find() seem to have an issue with dots:
The other answers have already explained what's wrong. For completeness, if you're only interested in the file's base name you can use string.match. For example: