+2,295 When you accidentally type in all caps you should be able to highlight the mistake and press a button and it goes lower case, amirite?

by Anonymous 13 years ago

It is possible to do that in Word, Highlight the text, click on Format at the top, then Change Case...

by Anonymous 13 years ago

Thank you, you just made my life that much easier :D

by Anonymous 13 years ago

Haha, isn't it interesting that so many people don't realize it is possible. The shortcut for it on Word is ctrl + shift + a.

by Anonymous 13 years ago

sentence.toLowerCase()

by Anonymous 13 years ago

That would do it for the whole sentence, you need to pass it just the string needed (i.e. everything but the first letter of the sentence). Best to make something like (Java): String lowerCaseSentence(String text){ //split it into sentences String[] temp = text.split("."); //process each sentence for (String s: temp) { //get rid of spaces s.trim(); //convert everything s.toLowerCase(); //switch the first character to upper case s.substring(0, 1).toUpperCase() } //convert the sentences back into a single string StringBuilder str = new StringBuilder() //faster for (int i = 0; temp.length; ++i) { str.append (temp[i]); str.append (". "); //add the dots back there //alternatively if a StringBuilder is not used and str is a String: //str += temp[i] + ". "; } return str.toString(); } isn't the best but it should get the job done. you still have to deal yourself with words after exclamation/question marks, names, and so on, but it's a start.

by Anonymous 13 years ago

lol thanks DoPo, I wasn't trying to implement the program per se, but it's nice to see you know your higher level programming languages

by Anonymous 13 years ago

Just follow the comments and you can do it in most other languages. You'll probably use strtok() in C instead of .split(), for instance. Java was just the fastest thing I could think of, without checking any documentation. Of course it's going to be a lot simpler if you assume you'll only be passed in a single sentence at a time (and a lot smarter, too) and do method/function to handle that. You can then make another one to do the splitting etc.

by Anonymous 13 years ago

YES. Oops. I mean, yes.

by Anonymous 13 years ago

Yeah I've had this problem forever man.

by Anonymous 13 years ago

You can dumbass

by Anonymous 13 years ago

You can do this...

by Anonymous 13 years ago

OR...you can just look at the screen while you type...

by Anonymous 13 years ago

haha! ya I can't imagine someone typing multiple sentences without looking up at the screen

by Anonymous 13 years ago

wow i had this exact same post but it was deleted because it was a repeat....

by Anonymous 13 years ago

you can do that in word, just highlight the text and push "shift>F3"

by Anonymous 13 years ago