View Single Post
Join Date: Aug 2008
Posts: 1,158
Reputation: dickersonka will become famous soon enough dickersonka will become famous soon enough 
Solved Threads: 136
dickersonka dickersonka is offline Offline
Veteran Poster

Re: Basic Password Verifier

 
0
  #2
Nov 18th, 2008
it needs to be changed to this format
  1. if (userPass.charAt(index) == 'c')

but you are making it hard, you can do this
  1. if(userPass.startsWith("cool")){
  2. return false;
  3. }
Custom Application & Software Development
www.houseshark.net
Reply With Quote