Buy Official Merchandise!
Forumwarz is the first "Massively Single-Player" online RPG completely built around Internet culture.

You are currently looking at Flamebate, our community forums. Players can discuss the game here, strategize, and role play as their characters.

You need to be logged in to post and to see the uncensored versions of these forums.

Log in or Learn about Forumwarz

Civil Discussion
Switch to Role-Playing Civil Discussion

Viewing a Post

tracylee

Avatar: 121691 2010-01-07 13:53:31 -0500
11

Level 35 Hacker

“43 4f 44 45 20 4d 41 53 54 45 52”

Johnny Mac Posted:

O hay another question i don’t know the answer to

Why should we test for both upper and lowercase letters or use ToUpper( ) to convert letters to uppercase?

From what I’ve found, it’s a matter of an easier comparison, regardless of what a user types. If you are asking for…say…pet’s name, and the person doesn’t remember if the original contained an initial cap, then you’d convert the initial response and the new response to all caps and compare the two.

It appears that in string comparisons in C#, as in many languages, “Text” and “teXt” are not equal.

Internet Delay Chat
Have fun playing!
To chat with other players, you must Join Forumwarz or Log In now!