Hi Friends, I shall be thankfull if u could help me with this program as the dead line is almost over. A text file contains details of e-mail users.A single line contains details of the single user.Width of a Single line is 80 characters & the 80th character is a verticalbar. I require a program that changes the password of an existing user satisfying the following (i)when storing new password the lgth of the line should not exceed 80 characters (ii)provison for checking invalid username & password (iii)accept username & password,replace oldpassword with new password when username & old password match. txtfileformat username,password,firstname,lastname,department........... ..|(Total 80 characters width,last character is a vertical bar. I did use String tokenizer but iam not able to check the output of streamtokenizer with user input. Expecting u'r valuable ideas. thanx & rgds sujesh