Answered by:
Lower and Uppercase

Question
-
Hello, Again! I am developing a program that will provide me and my family with a bit of fun. It is basically a conversation program that allows you to talk to the program. But, I am having one problem. If you type a word, it only understands it as it was originally typed by me. Example If you type "hello" it would not understand because the "H" In hello isn't uppercase. What is a code I can use to make it so I can type in wither Lower or uppercase in the program? As always, I will rate yours as the answer.Tuesday, January 24, 2012 3:15 AM
Answers
-
Ican try to help. I know there is the string.ToLower(); and string.ToUpper(); methods. I am a beginner, but I do know that, not sure if that helps.
- Proposed as answer by TSoftware-Old Tuesday, January 24, 2012 3:55 AM
- Marked as answer by Dummy yoyoModerator Thursday, February 2, 2012 6:04 AM
Tuesday, January 24, 2012 3:25 AM
All replies
-
Ican try to help. I know there is the string.ToLower(); and string.ToUpper(); methods. I am a beginner, but I do know that, not sure if that helps.
- Proposed as answer by TSoftware-Old Tuesday, January 24, 2012 3:55 AM
- Marked as answer by Dummy yoyoModerator Thursday, February 2, 2012 6:04 AM
Tuesday, January 24, 2012 3:25 AM -
I will try it!
Good luck on all your future programming :)
- Proposed as answer by marie.barbera Tuesday, January 24, 2012 8:40 PM
Tuesday, January 24, 2012 3:27 AM -
Thanks!! Good luck to you also :)Tuesday, January 24, 2012 3:57 AM
-
@marie: Thanks for your support to the MSDN forum!
Hi Notapipe,
Welcome to the MSDN forum!
If you need any helps in the future programming, you are welcome to start new threads in the forum!
Have a nice day!
yoyo
Yoyo Jiang[MSFT]
MSDN Community Support | Feedback to us
Thursday, February 2, 2012 6:06 AMModerator -
I would suggest to try to google. This will save your time and improve your searching skills. :)
Thanks
java- Edited by andriasgrabnir Wednesday, August 29, 2012 8:55 PM
Friday, February 3, 2012 9:16 AM -
String.ToLower() should work ideally..All the best.Friday, February 3, 2012 9:39 AM
-
you can ignore case by doing something like this. doing an == for strings is not the best method for comparing strings.
string.Equals("A", "a", StringComparison.InvariantCultureIgnoreCase)
Friday, February 3, 2012 12:51 PM