#465: Refactoring stringLength validator