Hi. As you may already have figured out from my last question, I'm compiling a word filter. I am wondering how, when I'm checking the word (I already know how to check the word) that the word cycles for ever capitalization sequence possible. Thanks!

Once again, I figured it out. No need to post! After searching the wiki, I used a combination of string.match and string.lower

2 comments

1

Just use string:lower() on your input string, so you can go caps-insensitive.

0

@eLunate Yup! That's what I ended up doing