Hello,
I am trying to load usernames and passwords from a text file into an array.
All seems to work fine except I want it to ignore spaces and returns (enters).
I ask this because when I put some names and passwords in the text file like this:
FirstnameLastname|password;FirstnameLastname|password;FirstnameLastname|password;
I can get it to work just fine.
But when i do this;
Firstname Lastname|password;
Firstname Lastname|password;
Firstname Lastname|password;
it seems to mess up.
Obviously the second option would be a lot easier to read though so I would like it to filter out the spaces and returns when putting it into the array.
Thanks for reading,
Danny