Can You Use Name Input Processing Without Case Sensitivity?

I remember in another version of RPG Maker (I think it was XP), you could take a name that was input through Name Input Processing, then run a code that made it all lower-case. From there, you could then check that with a conditional branch. This allowed you to do stuff like passwords for puzzles, check for names you didn't want (i.e. I don't want someway to be named "butt", but I would otherwise have to check for "Butt", "bUtt", and all other variations). I don't know how to do that here, though.
I assume the first step is taking the name and adding it to a variable, likely
JavaScript:
$gameVariables.setValue(100, $gameParty.members()[1].name())
But I'm not sure how to then convert that into all lower-case.
There is probably a Javascript string function that will make the string all caps or all lower case
You can do Control Variables -> Script -> $gameActors.actor(ID).name().toLowerCase()
no leading zeros on the ID.
You can do Control Variables -> Script -> $gameActors.actor(ID).name().toLowerCase()
no leading zeros on the ID.
That does, indeed, work. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/can-you-use-name-input-processing-without-case-sensitivity.163027/