charType function
This method returns the type of a character in a password.
Implementation
String charType(String character) {
String result = 'int';
if (isInt(character) == false) {
result = stringType(character);
} else {
// Do nothing.
}
return result;
}