darence
asked on
Java - String Token
Hi!
I have a text file with the following values.
username:password,security question,security answer
Using string token, i do manage to read in username and password via bufferreader.
But my problems comes when reading security question as it is delimited by a "," instead of a ":"
Is there a way during my buffer reader, read in both : and ,?
Else, how am i going to read my security question and answer.
Any solutions would be great.
Cheers!
Darence
I have a text file with the following values.
username:password,security
Using string token, i do manage to read in username and password via bufferreader.
But my problems comes when reading security question as it is delimited by a "," instead of a ":"
Is there a way during my buffer reader, read in both : and ,?
Else, how am i going to read my security question and answer.
Any solutions would be great.
Cheers!
Darence
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.