I'm having some trouble with this. Since I'm manipulating files I SHOULD already know how to do this... however I do not. I have searched the internet and could find nothing that helps :(

When a username is specified by using the -u switch the username should be saved to strUserName. All spaces and other characters before and after should be ignored.

This application is all text based so there is no GUI to make it easeir, any help would be greatly appreciated.

Recommended Answers

All 2 Replies

Regex and trim() will do the trick

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.