Thread: testing and correcting lowercase

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Registered User
    Join Date
    Dec 2006
    Location
    Canada
    Posts
    3,229
    Using islower() is better. It will work with other languages where lower and upper case make sense, too. Or even better, use !isupper. Right now you are trying to get user to enter anything that's NOT lower case (which includes numbers, symbols, etc).

  2. #2
    Registered User
    Join Date
    Oct 2009
    Posts
    18
    Quote Originally Posted by cyberfish View Post
    Using islower() is better. It will work with other languages where lower and upper case make sense, too. Or even better, use !isupper. Right now you are trying to get user to enter anything that's NOT lower case (which includes numbers, symbols, etc).
    i tried using islower and had no succcess maybe i did it wrong
    Code:
    (islower(guess))

Popular pages Recent additions subscribe to a feed