Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

Why doesn't s:find(".") return nil?

1 answer

✓ Accepted answer

string.find matches patterns by default. In patterns "." means "any character". To ignore patterns do string.find(str,'.',1,true)

This discussion is preserved as it was. New answers, comments, and votes are closed.