If you're asking how to compare strings, you are a newbie. It's that simple. If you had any coding experience you'd know exactly what you wanted and how to get it, because string comparisons are ridiculously common. And "homework assignment" was not an entirely unsafe assumption, since you were asking a very elementary question that most people just Google.
My question WAS NOT about comparing 2 strings. Again, read the question and look at the code.
The entire response and attitude in this thread was very elementary. And a "homework assignment" was not an entirely unsafe assumption? considering you have no idea what i'm even referring to? Ok.
The notion of real programmers has nothing to do with knowing how to compare strings or the difference of array's , etc. The notion of real programmers that I expressed more has to do with the humble attitude to seek more of that which what you do not understand , instead of throwing a fit and attacking somebody you don't even know because you somehow magically know they are a "newbie".
And do you know why people were rude to you? This:
simple question. simple answer.
Scroll up captan obvious, the first instance of rudeness was the reply to that post (the second post). My post in response to that second reply (first instance of rudeness) was "SIMPLE QUESTION, SIMPLE ANSWER" . Maybe it's not considered rude when somebody rather make immature remarks and attacks instead of simply asking what somebody is talking about if they don't understand or ask them to elaborate.