Hey, I have a question where I just need like a brainstorming thing to happen.
I am writing a Fantasy Football Offline Draft Manager Program. I read in an Excel workbook that contains tables copied and pasted from ESPN's Fantasy Football Projections. In those tables, the Players are referenced by the following format:
Now, the problem is with the Team. Teams are named via their 2 or 3 letter abbreviation. Immediately proceeding the Team is, what appears to be, a space. And for most of the Teams with 3 letter abbreviations, there is no problem. But for the Teams with 2 letter abbreviations, there seems to be a character before that space that I cannot recognize.FirstName LastName, Team Position
For example, when I read in Green Bay, I read in the initials GB. BUT, it reads in like this 'GB '. Notice the extra space after the abbreviation? I attempted to use the String.trim() method that gets rid of those pesky spaces, but it didnt do anything. I tried adjusting my hardcoded array of teams to include spaces for teams with 2 letter abbreviations, but the program cannot recognize the abbreviation. This tells me that there is a character that isnt a space that is there as a filler or something. I know it is not an indent because Excel would have reacted when I pasted in the table. Any clues as to how I can find out what the hell it is and/or how to deal with it?