|
-
Oct 28th, 2009, 11:14 AM
#1
Thread Starter
Addicted Member
[RESOLVED] Upper Case, Lower Case Question
Ok i have a program using a select case to convert letters to special charaters. My question is how can I get the code to read upper and lower case letters without having to put the upper case letters in my select case statement.
Example: Part of my code is
case "a"
word = "1"
and if i type apple i get 1pple
My question is, is there a way for me to type Apple and get 1pple without having to add this to my code
case "A"
word = "1"
I have been searching the commands char.toupper and char.isupper but i don't know how to implement them in my code. I know the code will word is i add the case "A" to my select case statement but I am trying to shorten up my code. I hope I am asking this question correctly.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|